• thirteene@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      edit-2
      9 months ago

      I use this in my bash profile in case anyone else finds it helpful. Usage is:

      gao fixing a typo

      function gao() {
          git add .
          git commit -a -m "$*"
          git push origin `git rev-parse --abbrev-ref HEAD`
      }