Skip to content

Instantly share code, notes, and snippets.

View thePHTest's full-sized avatar

Phil H thePHTest

View GitHub Profile
@thePHTest
thePHTest / #Git Automation Scripts
Last active February 2, 2022 01:01
Git Automation Scripts
This gist contains three python scripts:
1. git_pull_all.py <root_dir>
- Pulls latest for repos in dirs relative to the <root_dir> argument
2. git_push_all.py <root_dir>
- Adds all, commits, then pushes repos in dirs relative to the <root_dir> argument
3. git_rebase.py <branch> <target>
- Rebases <branch> onto <target> branch