github commands

git
    git clone https://github.com/sunyongjie1984/sll
    git clone https://sunyongjie1984:[email protected]/sunyongjie1984/sll
    vi islln.h // modify one file
    git diff
    git log
    git add islln.h
    git diff
    git log
    git commit -m "bala bala bala" islln.h
    git log
    git diff
    git push origin master

add

cd /home/sunyj/new
git init
git add *
git commit -m "add new"
git remote add origin https://sunyongjie1984:[email protected]/sunyongjie1984/new
git push origin master

git status -s
git pull
rm isll.h
git checkout isll.h

 

with visul studio
 
github commands_第1张图片
 
 
with centos eclipse
 
http://www.cnblogs.com/sunyongjie1984/p/4304761.html
 

你可能感兴趣的:(github commands)