-
-
Save gilesbowkett/6f9fadb6c0867d42f75d to your computer and use it in GitHub Desktop.
git shell functions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# copy into ~/.profile | |
function sync_hautelook() { | |
git co master && | |
git fetch gavacho && | |
git fetch ethanselzer && | |
git fetch jedhunsaker && | |
git fetch upstream && | |
git merge upstream/master && | |
git push origin master && | |
git st | |
} | |
function which_git_branch_am_i_on() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/' | |
} | |
function blam() { | |
git push origin $(this) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment