Skip to content

Commit

Permalink
Update gcamp
Browse files Browse the repository at this point in the history
  • Loading branch information
cbachhuber committed Aug 28, 2024
1 parent 13e3236 commit e4de319
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@ pastefinish() {
# aliases
function gcamp(){
if ! [ -z $1 ]; then
git commit -am $1 && git push
# trying to commit a second time if the first time failed and was auto-fixed by pre-commit
(git commit -am $1 || git commit -am $1) && git push
fi
}
function ff(){
Expand Down

0 comments on commit e4de319

Please sign in to comment.