git svn use

http://www.bootcss.com/p/git-guide/

http://www.cnblogs.com/plinx/archive/2013/04/08/3009159.html

http://www.geekcome.com/content-10-3054-1.html

 

git userGuide

 http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.egit.doc%2Fhelp%2FEGit%2FUser_Guide%2FTasks.html

 

eclipse: git 

http://www.cnblogs.com/zhxiaomiao/archive/2013/05/16/3081148.html

 

$ mkdir tmp //Create push directory

$ cd tmp //Enter the push directory    

$ git init //Set the directory to push

$ touch README   //生成readme

$ git add README //Add to the modification list

$ git commit -m 'first commit' // submit the modification statement

$ git remote add origin [email protected]:abcd/tmp.git //Rename remote Git to origin

$ git push -u origin master //Push this modification

 

where origin can be replaced with your own name

 

cd d:

Download the code of the git repository to the local:

    git clone https://github.com/yongyuan93139/AmazonHelper.git

Download the code of the warehouse to the local

   git pull

git add * , add all local files to git management

git push, the local code is submitted to the warehouse

 

3. Temporarily store the documents to be submitted

If it is a new file

则git add  <file>


If it is a modified file
then git add <file>

If it is a deleted file
then git rm <file>

Commit staged files

git commit -m "comment"

 

SVN download address

http://www.cnblogs.com/xiaobaihome/archive/2012/03/20/2407610.html

 

 

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326354875&siteId=291194637