4 ms·
Commit accepts the -A flag. You can simplify it to just function save () { git commit -am "$*" && git push }
by horsawlarway 4y ago
Commit accepts the -A flag. You can simplify it to just
function save ()
{
git commit -am "$*" && git push
}
- user3939382 4y agoYou can. I have it separate for the purpose of composition, sometimes I do 'gac Foo' which stands for 'git add commit' and I push later.