Awesome bash helpers to make your git times good times.
Clone this repository, and import into your pash profile
cd ~
git clone https://github.com/calm/git-bash-party.git
echo 'source ~/git-bash-party/git-bash-party.sh' >> ~/.bash_profile
source ~/.bash_profile
For the full list of commands, just read the .sh
file. Here are Calm’s personal favorites:
Shorthand for git pull origin develop
. gplom
pulls master.
Delete a branch from local and remote
Delete a tag from local and remote
Compare the diff between develop and master. Super helpful before a deploy to sanity-check what’s new.
Merge develop to master, push to origin, and merge back to develop. Lifesaver.