Installation and use of --- git git source code management tools, development code at github multiplayer warehouse management

1, git code management tool

2, git command line

  

  git add ./xxx (the files on the warehouse door) 

  git commit -m "what has changed," ---- submit specific binding git add file changes

  git commit --all -m "what has changed," ---- a one-time submission of all modifications

  git log view the revision history log ---

  

  

  

  

  

3, project development, then to people how to deal with it --- github This site offers allow others to upload via git, download the code functions

  

    How to use it?

    

    

    

    

  5, people will inevitably be conflict development

    pull-- update files from the warehouse to the local

    push --- upload local files to the repository

    clone --- clone download code to the warehouse under local project file

    Therefore, when developing your own, remember to pull the code every day

    So long as the code push to submit their best to first pull, if it is to manually resolve the conflict after conflict push

  6, a small plug-git little turtle ---

    After he did not need with a small turtle has been knocking on the command line git

    very convenient

 

Guess you like

Origin www.cnblogs.com/yangyutian/p/11033036.html