Created
July 13, 2017 14:51
-
-
Save urodoz/9baffd57196977318f256da3f85c3c95 to your computer and use it in GitHub Desktop.
Set of useful Git alias and functions to increase productivity
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
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