Skip to content

Instantly share code, notes, and snippets.

@urodoz

urodoz/.bashrc

Created Jul 13, 2017
Embed
What would you like to do?
Set of useful Git alias and functions to increase productivity
alias gfo='git fetch origin'
alias gs='git status -sb'
# Automatically generates the bump commit and tags
# Usage: bump 1.0.4
function bump() {
echo "-- [$1] Bump commit"
git commit -am"Bump to $1"
echo "-- [$1] Tagging
git tag $1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment