git version 1.7.1
svn, version 1.6.12
Ubuntu 10.10
У меня только что Git и я использовал SVN. Но я не использовал тогда вместе. У меня был git-репозиторий, и мне нужно было больше моего репозитория к Subversion. Так что я использую git-svn. Который работает нормально, большую часть времени. Тем не менее, я нахожу круги по кругу.
Я единственный, кто работает над этим проектом.
Я делаю некоторые изменения в моей ветке. Затем я ставлю их:
git stage gateway.c
Затем передайте их локально в git:
git commit m"Made some changes"
Тогда я хочу передать их в подрывную деятельность. Получить последние обновления:
git svn rebase
Тогда я получаю следующее сообщение:
It seems that I cannot create a rebase-apply directory, and
I wonder if you are in the middle of patch application or another
rebase. If that is not the case, please
rm -fr /home/joe/projects/gateway/.git/rebase-apply
and run me again. I am stopping in case you still have something
valuable there.
rebase refs/remotes/trunk: command returned error: 1
I then doing the following:
rm -fr /home/joe/projects/gateway/.git/rebase-apply
Затем я снова делаю ребаз:
git svn rebase
Сообщение таково:
First, rewinding head to replay your work on top of it...
Applying: Issue with getting the port from the user context.
Using index info to reconstruct a base tree...
Falling back to patching base and 3-way merge...
Auto-merging driver.c
Auto-merging gateway.c
CONFLICT (content): Merge conflict in gateway.c
Failed to merge in the changes.
Patch failed at 0001 Issue with getting the port from the user context.
When you have resolved this problem run "git rebase --continue".
If you would prefer to skip this patch, instead run "git rebase --skip".
To restore the original branch and stop rebasing run "git rebase --abort".
rebase refs/remotes/trunk: command returned error: 1
Что ставит меня в ветку под названием, и что это за ветка и для чего она нужна:
*(no branch)
Затем я разрешаю конфликты с этой ветвью. Затем я проверяю свою ветку play_video. Я пытаюсь сделать другое:
svn git dcommit
И я снова обхожу круги.
Прежде чем я начну выдергивать свои волосы, кто-нибудь может дать мне какой-нибудь совет,
Большое спасибо за любые предложения,