Skip to content

Instantly share code, notes, and snippets.

@uurtech
Created February 6, 2019 08:58
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save uurtech/305734d878ed6b6a6e6c27128ba4f01b to your computer and use it in GitHub Desktop.
Save uurtech/305734d878ed6b6a6e6c27128ba4f01b to your computer and use it in GitHub Desktop.
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.
@uurtech
Copy link
Author

uurtech commented Jul 28, 2023

replace gitter with gitt so it would be enough to type gitt only on your CLI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment