gPush() {
git add .;
git commit -m "$1";
git pull --rebase;
git push origin "$2";
}
Put above functions in
git add .;
git commit -m "$1";
git pull --rebase;
git push origin "$2";
}
Put above functions in
.profile
or .bashrc
Comments
Post a Comment