Comment

Comment by samsquire

That's awesome. I sometimes edit my notes in IntelliJ or in GitHub web interface.

At one point I created an autocommit script that commits every second which you can change the commit message by setting it in a file called "current-task"

Could combine this with automatic synchronization with pulling too.

  #!/bin/bash

  while true; do

     sleep 1

     (cd app ; git status -z;
     git add . && git commit -m "autocommit $(cat ../current-task)" ; git push -f app);

  done > autocommit.log 2>&1
parent samsquire 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton