I've created some bash scripts similar to Zen's as well:
Filename: gitit
git add .
git commit -m"$1"
git push
Example: gitit "init commit"
I also have one for creating new branches and pushing their upstream:
Filename: branch
git checkout -b "$1"
git push origin -u "$1"
I always use branch to make new branches that way when I use gitit to push up so it works without fail. I have a few more, but those are my most used bash scripts I use in my git flow
Some comments have been hidden by the post's author - find out more
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I've created some bash scripts similar to Zen's as well:
Filename:
gitit
Example:
gitit "init commit"
I also have one for creating new branches and pushing their upstream:
Filename:
branch
I always use
branch
to make new branches that way when I usegitit
to push up so it works without fail. I have a few more, but those are my most used bash scripts I use in my git flow