Skip to content

Instantly share code, notes, and snippets.

@viegelinsch
Created April 17, 2013 12:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save viegelinsch/5403962 to your computer and use it in GitHub Desktop.
Save viegelinsch/5403962 to your computer and use it in GitHub Desktop.
# creating a private git repository to use with SparkleShare
cd Documents/
# let's name it "trans"
git init --bare trans
git config --file trans/config receive.denyNonFastForwards true
bash /tmp/add_attributes.sh
less trans/info/attributes
cd ..
chmod --recursive o-rwx Documents
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment