Warning, /graphics/kst-plot/devel-docs/using_git is written in an unsupported language. File is not indexed.
0001 Using Git as subversion client
0002
0003 http://git-scm.com/
0004
0005 Help:
0006 git help svn
0007
0008
0009 Set up svn mirror, done only once
0010 ---------------------------------
0011 Create a new directory e.g 'kst', and init your git repository with the svn path
0012
0013 git svn init svn+ssh://YOU_USERNAME@svn.kde.org/home/kde/branches/work/kst/portto4/kst
0014
0015 Download the author mapping file into your new 'kst' folder from,
0016 https://github.com/downloads/syntheticpp/kst/.svn-author-file
0017 or copy it from a svn checkout. Without this file git doesn't know the name
0018 and email address of the committer.
0019
0020 Configure git to use this file:
0021
0022 git config --add svn.authorfile .svn-author-file
0023
0024
0025 Then get all commits
0026
0027 git svn fetch
0028
0029 this will take a while. (It is possible to start at a later revision,
0030 for instance -r1307223, but then it is not possible to use other remote branches)
0031
0032 When finished there is an internally managed remote branch 'git-svn',
0033 listed by 'git branch -r'.
0034
0035 Update the current local branch ('master' by default) with the fetched
0036 svn commits:
0037
0038 git svn rebase
0039
0040
0041 Update existing repository with svn commits
0042 -------------------------------------------
0043
0044 git svn fetch
0045 git svn rebase
0046
0047
0048 Rebase errors
0049 -------------
0050 When there are errors while rebasing, fix the mentioned <files>
0051 then
0052
0053 git add <files>
0054 git rebase --continue
0055
0056
0057
0058 Committing
0059 ----------
0060 First commit your changes to your local branch
0061
0062 git commit "message" -a
0063
0064 then commit to the svn repository
0065
0066 git svn dcommit
0067
0068
0069 History
0070 -------
0071 Browse history offline with a git-GUI gitk, gitg, qgit, ...
0072
0073
0074
0075
0076
0077