A simple library of git custom commands
Working with a repo and a private fork:
- git push2: Pushes to both remotes at once
- git sync: Syncs master between repositories and rebases current branch to the last version of master
- git upstream: Creates in the desired remote(origin by default) the current branch
- git squash: Opens an interactive rebase between you current branch and master
- Clone folder
- Add folder to PATH
- Copy
envs.example.sh
toenvs.sh
and fill with your data - Double-check that git-* files have exec permission
- Use it!
- Support for -h
- Improve squash to do an actual complete squash