GIT學習-04git-svn的使用

注意 本人的博客都遷移到本人自己搭建的博客地址,通過此處可查看。

一、 git-svn的工作流程

這裏寫圖片描述

二、git-svn 命令使用

 git svn clone http://www.text.com
 git add -u
 git commit -m “Commit Description”
 git log
 git svn dcommit
 git svn fetch
 git svn status
 git svn rebase
 git add xx -> git rebase —continue -> git log -> git status -> git svn dcommit -> git log -2
 git svn init or git svn clone
 git branch -r
 git checkout -b myHack refs/remotes/demo-1
 git branch
 git log  --first-parent
 git svn dcommit
 git svn clone = git svn init + git svn fetch
 git svn init [option] <subversion-url> [local-dir]
     option: -s => --stdlayout;   -T <arg>  => —trunk, --b=s@ => branches
     —y=s@ => —tags, —config-dir <arg>, —ignore-paths <arg>, —prefix <arg>
     —username <arg>
 git svn init - s file:////…..  == git svn init -T trunk -b branch -T tags file:////…..

其他關於git使用文檔請看:

  1. git學習-01基礎
  2. gitx學習-02分支
  3. git學習-03服務器上的git
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章