git help

Apr 17, 2009 14:12


mkdir git_master
cd git_master
git init
echo "Version one" > README
git add README
git commit -m "1"

cd ..
git clone git_master git_slave
cd git_slave
echo "Version two" > README
git commit -a -m "2"

git push
cd ../git_master
cat README # Version one
git status # modified: READMEЧЯДНТ?

must, q-revo

Previous post Next post
Up