Re: git svn fails to work

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

 



On Sun, Mar 29, 2009 at 12:42 AM, Aaron Gray
<aaronngray.lists@xxxxxxxxxxxxxx> wrote:
>
> The commands
>
>   git svn clone http://llvm.org/svn/llvm-project/llvm/trunk
>
> when connection fails I do a :-
>
>   git svn fetch
>
> gitweb is not updating at all to show any change in the repository.

"git svn fetch" only updates the remote branch. In the same way as
"git fetch" only fetches changes from the remote repo and updates
the remote branch. You can see only local branches with gitweb.

So, you may want to run "git svn rebase" instead. (Note: the command
is "git svn rebase" and not "git clone rebase" as you wrote earlier).

"git svn rebase" fetches all changes as "git svn fetch" does but then it
rebases your local commits on the current branch on top of the svn
remote branch. If you do not have any local commits then it just
updates the top of the current branch to be the same.
Note:  Running "git svn rebase" requires that your working tree is
clean (no uncommitted changes).

You can always see all branches and what changes they have by
 running:
   gitk --all &

Dmitry
--
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]

  Powered by Linux