Please enable Javascript to view the contents

Git 常用指令

· ☕ 1 分钟 · 🐔 Redd Tsai
🏷️
  • #Git
  • 1
    
    git clone
    

    remote

    1
    
    git remote show origin
    

    branch

    1
    
    git branch
    
    1
    
    git branch -a
    
    1
    
    git branch -d
    

    checkout

    1
    
    git checkout
    
    1
    
    git checkout -b
    
    1
    
    git checkout --track
    

    fetch

    1
    
    git fetch origin
    

    log

    1
    
    git log
    
    1
    
    git log --oneline -5
    
    1
    
    git reflog
    

    revert

    1
    
    git revert
    

    reset

    1
    
    git reset
    
    分享

    蔡文杰
    作者
    Redd Tsai
    Backend Developer