Re: git-svn breakage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dongsheng Song <dongsheng.song@xxxxxxxxx> 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

-- 
Eric Wong
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]