https://github.com/mskims/find-and-replace-and-commit-and-push
귀찮아
https://github.com/mskims/find-and-replace-and-commit-and-push
automation git
Last synced: 3 months ago
JSON representation
귀찮아
- Host: GitHub
- URL: https://github.com/mskims/find-and-replace-and-commit-and-push
- Owner: mskims
- License: mit
- Created: 2019-01-15T10:48:44.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-15T10:50:12.000Z (over 7 years ago)
- Last Synced: 2025-03-06T14:24:18.492Z (over 1 year ago)
- Topics: automation, git
- Language: Python
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# find-and-replace-and-commit-and-push
각 저장소에 있는 특정 문자열을 찾아 변경하고, 커밋과 푸시까지 자동으로 수행해주는 스크립트입니다.
## Usage
```bash
# replace.py
repository_urls = [
'git@github.com:ridi/user-api.git',
'git@github.com:ridi/search-api.git',
]
$ python replace.py 10.12.151.12 db.ridi.io
```
## Todo
- [ ] 정규식 지원
- [ ] Pull Request 자동 생성
- [ ] `sys.arg`에서 `repository_urls` 가져오기
- [ ] `sys.arg`에서 `PUSH_TO_MASTER` 가져오기
## License
MIT