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
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