News for hackers. Stuff that matters.
Re:“After 20 years coding I just realised, commit messages a... by samsquire on Tuesday January 17, 2023 @12:40PM (#34415678)
I use this script called "autocommit" and run it in the background in a tab.

It commits every 1 second. Echo to current-task to change the commit message from that point onwards.

  #!/bin/bash


  while true; do
     sleep 1
     (git status -z;
     git add . && git commit -m "autocommit $(cat ../current-task)" ; git push);
    done > autocommit.log 2>&1

There are no comments on this comment yet.