git-svn breakage
Hi,
I am trying to use git-svn synchronize git with svn.
When git-fetch failed midway, and resumed later.The git-svn log output fine, but git-log output only before resumed.
How can I fix it ?
Any help greatly appreciated,
git-svn breakage
Hi,
I am trying to use git-svn synchronize git with svn.
When git-fetch failed midway, and resumed later.The git-svn log output fine, but git-log output only before resumed.
How can I fix it ?
Any help greatly appreciated,
Dongsheng Song <dongsheng.song@gmail.com> wrote:
> Hi, > > I am trying to use git-svn synchronize git with svn. > > When git-fetch failed midway, and resumed later.The git-svn log output > fine, but git-log output only before resumed. > > How can I fix it ?
git-svn only updates refs/heads/master to the last refs/remotes/git-svn revision on the first time fetch runs. Since git-log defaults to HEAD (which most likely points to refs/heads/master, use git-branch to find out), it'll only show the information in refs/heads/master.
So if you want to see the latest revisions that git-svn fetched, then use 'git log remotes/git-svn'
To pull changes into your working copy (or HEAD) use: git rebase refs/remotes/git-svn