6/18/2013 - 2:20 AM

git note

git note

git create repo
[step1: remote folder]
git --bare init
[step2: local folder]
git init
git add *
git commit -m "asd"
git remote add origin d:/git/ts.git  [first time use only]
git push origin -u master   [first time have -u , else '']
get remote origin url set:
git remote set-url origin git://
get origin info:
git remote show origin
Viewing the Commit History:
git log
[from nothing to clone] 
git clone [target-source] [local-folder] 

git clone git@[floder] [local-folder] 

[download updated file]
 git pull origin master

git rm --cached [file]