[categories] [index] [all (534)] [latest]
#!/usr/bin/sh
ORIGIN=$HOME'/Dropbox/dropbox.git'
CLONE=$HOME'/Projects/dropbox'
mkdir -p "$ORIGIN"
cd "$ORIGIN"
git init --bare
git clone "$ORIGIN" "$CLONE"
cd "$CLONE"
touch test.txt
git add test.txt
git commit -m "Initial commit"
git push origin master