Дон Карлос (kastaneda) wrote,

git help

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
ЧЯДНТ?
Tags: must, q-revo
  • Error

    default userpic

    Your reply will be screened

    Your IP address will be recorded  

  • 34 comments