Those are really good! Thanks for sharing. Curious to see the others. Are they available somewhere?
Re:Idiot Proof Git
by horsawlarway on Wednesday November 09, 2022 @01:37PM
(#33535956)
Commit accepts the -A flag. You can simplify it to just
function save ()
{
git commit -am "$*" && git push
}
Re:Idiot Proof Git
by user3939382 on Thursday November 10, 2022 @10:22PM
(#33556957)
You 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.
Also:
Open a PR from current branch based on develop and open it in GitHub in my browser.Merge upstream changes from develop:
I have a few more, whereby I skip most of the ceremony with git. Works for me.