News for hackers. Stuff that matters.
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.