DEV Community

Discussion on: Single shell script command to stage all files, commit and push to current branch

Collapse
 
vonheikemen profile image
Heiker

Have you tried making a "custom command" for git?

You could try make one like it says on this article: Extending Git.

Collapse
 
forcetrekker profile image
Rahul Sharma

This looks quite interesting and thanks for sharing with me, I will give this try! :)

Collapse
 
forcetrekker profile image
Rahul Sharma

Custom command felt hard and unfortunately I could not make it work. So I created an alias in .bashrc and it worked like charm. :)