Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7863035
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T23:20:57+00:00 2026-06-02T23:20:57+00:00

[Update] For more details, The reason that why I try to do pure Git

  • 0

[Update]

For more details, The reason that why I try to do pure Git at home is that, my company would like to move to Git but manager won’t like to make change because developer don’t have knowledge with Git on our own repository. So, what I try to do is, I try to make everyone use Pure git while someone can merge back to Subversion during this learning phase. So, in any emergency case, they can still using Subversion.

So, before everyone familar with Git, I cannot transfer repository to use pure Git. So, it will have both update on Subversion and Git. (and Main repository right now is Subversion). So, I try to make the way that Git can working smoothly during I have sync repository by dcommit back to Subversion.

[Question]

I am in the organization which use Subversion as repository, so I dump it as my personal Git (and plan to use replace Subversion with Git in the future)

Now, I have repository that use both Git and Subversion (Main Source). I have a problem to deal with git svn rebase when I have to use both git and subversion.

My Workflow is like below

At Office

  1. The Repository have Git-svn interface
  2. I always commit the code to Subversion with git svn dcommit from here.
  3. I push to my remote git repository at Bitbucket

At Home

  1. I clone the repository from Bitbucket
  2. Working with and commit to Bitbucket

Now, Back to OFfice

  1. git pull
  2. git svn rebase
  3. git svn dcommit
  4. git push

In step 4. I have a problem that I already rebased my branch

Problem now here, when I am back home

When I come back home, I cannot use ‘git fetch’ because the branch is already rebased. So, I have to remove branch with git branch -D ….. and then git checkout again.

So, I look for the way that we can concurrent use both Git repository and Subversion and do going well with Git after done operation with git svn rebase or git svn dcommit.

Note. I won’t prefer to use any git-svn at home. Try to move forward to use only Git.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T23:20:59+00:00Added an answer on June 2, 2026 at 11:20 pm

    Found the solution from Version Control with Git book. Page 295.

    Instead of use local – master branch, have to checkout remote branch

    git checkout remote/master (Detach HEAD)
    git merge --no-ff master (merge the local master)
    git svn dcommit
    git push origin (update to git Repository)
    

    This model is for one person who will merge back to Subversion repository while the other work on pure Git OR pure Subversion. With this way, The Git Users can use Git without Merging problem.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Update: After some more reading I see that this problem is totally general, you
UPDATE: Let me go into more details (as requested) I have 2 Perl files,
Is it possible to update more than one local variable in a single select?
Is there a way to update more than one Database having same schema using
I'm attempt to establish a grid and update it with more records via JSON.
I found some problem. When i running apc_store and more times update a page
Update: giving a much more thorough example. The first two solutions offered were right
Update: I've fixed up my referencing below, and my problem is now more specific.
This is a big-picture question... but I also have details on the problem I
I recently wanted to update my gem bundle but ran into installation problems with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.