Last active
          August 29, 2015 14:22 
        
      - 
      
- 
        Save mosasiru/c4a0b4620e5b0d93ca2e to your computer and use it in GitHub Desktop. 
    git覚えるべきコマンド集 (普段使うコマンドの99%がこれ)
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | git clone https://github.com/atilika/kuromoji | |
| git pull | |
| git status | |
| git branch | |
| git branch -a | |
| git log | |
| git add . | |
| git add hoge | |
| git co master | |
| git co -b topic/branch | |
| git merge topic/branch | |
| git reset HEAD~ | |
| git co -- hoge | |
| git reset --hard HEAD | |
| git diff topic/branch | |
| git diff HEAD~ | |
| git stash | |
| git stash pop | |
| git push origin HEAD | |
| git commit -m "fix" | |
| git commit --amend -m "fix" | |
| git mv hoge fuga | |
| git rm hoge | |
| git tag 2015061301 | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
            
git rebase, git cherry-pick, git reflogはまれにつかってるけど覚えなくて良いと思う