Related Pages
Git - How to use Git.
mkdir -p /home/repo/test1.git cd /home/repo/test1.git git init --bare --share
mkdir test1 cd test1 git init echo "git test" > readme git add . git commit -m "first commit" git remote add origin file:///home/repo/test1.git git push origin master
cd /tmp git clone file:///home/repo/test1.git ls echo "test" >> readme git add . git commit -m "change test" git push origin master git status
Related Pages
Git - How to use Git.