User Tools

Site Tools

blog:2019-12-30_git_svn_command_quick_reference



2019-12-30 git & svn command quick reference

  • Memo some quick command reference.

Commands

Operation Git Subversion
複製數據庫 git clone svn checkout
提交 git commit
在Local Server
svn commit
直接到遠端Server
查看提交的詳細記錄 git show svn cat
確認狀態 git status svn status
確認差異 git diff svn diff
確認記錄 git log svn log
增加 git add svn add
移動 git mv svn mv
刪除 git rm svn rm
取消修改 git checkout / git reset
取消提交
svn revert
取消修改
建立分支 git branch svn copy
切換分支 git checkout svn switch
合併 git merge svn merge
建立標籤 git tag svn copy
更新 git pull / git fetch svn update
上傳到遠端Server git push
到遠端Server
svn commit
到遠端Server
忽視檔案清單 .gitignore .svnignore

Note

  • 240 person(s) visited this page until now.

Permalink blog/2019-12-30_git_svn_command_quick_reference.txt · Last modified: 2020/01/10 09:39 by jethro

oeffentlich