Mathias Hasselmann

Postings by Mathias on February 17, 2009

Publishing a single git branch

Scott, your blog seems to be down. Therefore this way:

# create target repository
GIT_DIR=/tmp/stuff git init --bare

# tell git about that new repository
git remote add stuff /tmp/stuff

# publish your branch

...