Monday, July 16, 2012

Github 常用指令~recently leaning

Recently, I start  to use github again

this is a quick learning website for start-up github: github start

github usually use these commands:
git remote -v
git branch -v
git remote add  origin   /**remote is like a pointer to an address*/
git remote remove origin
git branch newbranch
git branch -d newbranch
git branch -D newbranch
git checkout newbranch
git add .
git commit -a -m 'msg'
git pull origin master
git push origin master
git merge origin anotherbranch

for eclipse install egit, but just use commint in eclipse, use git bash command line push~
mygithub site

No comments:

Post a Comment