Shell script to perform common git operations with less typings
Place the git.sh file as a sibling of .git directory in your project
For permission related issues, give it execution permission by running
sudo chmod +x git.sh
./git.sh -fps "commit message" "push branch name"The second argument
push branch nameis optional.
If push branch name is mentioned it will try to push in that branch, but if the branch doesn't exist it will create and push
./git.sh -iplIt will show current branch, git commit graph and ask for branch name to pull interactively
./git.sh -helpIt will show all allowed actions with proper command format