you are viewing a single comment's thread
view the rest of the comments
[+] -12 points 4 months ago (3 children)
  • [–] 6 points 4 months ago (2 children)

    Before showing your terrible understanding of git, try it. If you run 'git commit -m auto foo' and foo has not changed, git will not do anything. It's a no-op. So there is no downside and is very simple. Additionally, it returns 1, so if you do 'git commit -m auto foo && git push', it won't do the push.

    But thanks for playing

  • source
  • parent
  • hideshow 2 child comments