fast throw-away git repository

Based on the article How to Run Your Own Git Server, I've constructed a small list for fast git setup for temporary projects.

Server:


$ mkdir -p /the/server/repository/dir
$ cd /the/server/repository/dir
$ git init --bare

Client:


$ cd /my/project/directory
$ git init    # Note: without --bare
$ git add, commit etc
$ git push --set-upstream origin master

Other client:


$ git clone /the/server/repository/dir
or
$ git clone [ssh://]user@host:/the/server/repository/dir

Vibe code with your voice

Stop fighting speech recognition.
Just talk → fix mistakes later

"... _brings_ hello world"   ❌
          ↓
"... _prints_ hello world"   ✅

Get handsfree.vc on Google Play

Categories: linux

Updated: