Skip to content

Subversion/git-github troubles #21681

Discussion options

You must be logged in to vote

Since you’re already pulling in changes from subversion and the GitHub-based git repository, then you should be able to do the following:

  1. Bring in the latest changes from subversion to your local git repository
  2. Use a “force push” to tell the GitHub-based repository to use exactly what you have locally, thereby dropping the “one commit ahead”

You can do this by using git push --force instead of git push.

WARNING:  A force push is a potentially destructive action.

But you want to destroy the one extra commit, so it s

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants