2010年12月29日星期三

basic git command

git is the fast version control system


Now I am studying how to use git

  • Here are the commands for common using:

  1. Use git clone to check out sources. i.e. Download pulseaudio sources:

    
    
    
  2. Use git status to show your working tree status

    
    
  3. Use git pull to update the codes to the newest version

    
    
  4. Add or edit your file

  5. Commit your new file

    
    
  6. Push your change to remote repository

    
    

  • Here is a sample to generate a patch

    
    

1 条评论: