[Update]
For more information, the reason I am trying to make clean Git at home is because my company would like to switch to Git, but the manager will not want to make changes because the developer does not have knowledge with Git in our own repository. So, what I'm trying to do, I'm trying to get everyone to use Pure Git, while someone can team up with Subversion at this point in the training. Thus, in any emergency, they can still use Subversion.
So, in front of everyone who is familiar with Git, I cannot transfer the repository to use pure Git. Thus, it will have both an update on Subversion and Git. (and the main repository right now is Subversion). So, I'm trying to make Git work smoothly while storing the synchronization repository using dcommit back to Subversion.
[Question]
I am in an organization using Subversion as a repository, so I will give it as my personal Git (and plan to use Subversion replacement with Git in the future)
Now I have a repository that uses Git and Subversion (Primary Source) . I have a problem with Git svn rebase when I have to use both Git and subversion.
My workflow is similar below
In the office
- There is a Git-svn interface in the repository
- I always pass Subversion code with Git svn dcommit from here.
- I click on my remote git repository in bitbucket
To the begining
- I am cloning a repository from Bitbucket
- Working with and fixing Bitbucket
Now back to OFfice
- git pull
- git svn rebase
- git svn dcommit
- git click
In step 4. I have a problem that I have already rebuilt my branch
The problem is now here when I get home
When I get home, I cannot use 'git fetch' because the branch has already been reinstalled. So, I have to remove the branch using Git branch -D ..... and then Git checkout again.
So, I'm looking for a way that we can use the Git and Subversion repository at the same time, and work well with Git after performing an operation with Git svn rebase or Git svn dcommit.
Note. I will not prefer to use git-svn at home. Try moving forward to use only Git.
scalopus
source share