Skip to content

Commit

Permalink
feat: add new commands for adding and committing without pushing
Browse files Browse the repository at this point in the history
- Change the `go` command to only add and commit, without pushing
- Add a new command `charge` to add and commit without pushing

Signed-off-by: Trim Bresilla <trim.bresilla@gmail.com>
  • Loading branch information
bresilla committed Apr 11, 2024
1 parent 507e8cf commit 42b3882
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .config/git/config
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
ignore = "!f(){ echo $@ >> .gitignore; }; f"
ai = "!f(){ codegpt $@; }; f"
commet = "!f(){ codegpt commit; }; f"
go = "!git add --all && git commet && git push --all"
charge = "!git add --all && git commet;"
up = "!f(){ git remotes | grep push | cut -f1 | xargs -I{} git push --all -u {}; }; f"
start = "!f(){ git flow feature start ${1:-feature}; }; f"
finish = "!f(){ git flow feature finish; }; f"
Expand Down

0 comments on commit 42b3882

Please sign in to comment.