Created
February 6, 2019 08:58
-
-
Save uurtech/305734d878ed6b6a6e6c27128ba4f01b to your computer and use it in GitHub Desktop.
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
gitter(){ | |
git add $1 | |
echo "Enter Your Git Commit"; | |
read commitMessage | |
git commit -m "$commitMessage" | |
echo "Enter Your Branch" | |
read branch | |
git push -u origin $branch | |
} | |
//you can use it like | |
//gitter filename | |
//enter your commit message | |
//enter your branch. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
replace gitter with gitt so it would be enough to type gitt only on your CLI