GIT 裸露,带有远程 SVN 引用。我怎么更新?
我有一个裸 git 存储库,其中包含对 SVN 存储库的远程引用。
我还有一个从中克隆的存储库。 我想让这个裸存储库始终同步,我正在执行 git svn fetch
,但是当我执行 git log
时,我看不到最近更新的更改。< br> 这个想法是在我的本地存储库中有一个本地分支连接到这个裸存储库的主节点,并执行 git pull 来带来新的更改。
有人知道正确的方法是什么吗?
I have a bare git repository with a remote reference to a SVN repository.
Also I have a cloned repository from this.
I want to have this bare repository always synchronised, I'm doing a git svn fetch
, but when I execute a git log
I can not see the recently updated changes.
The idea is has a local branch in my local repository connected to the master of this bare repository and perform a git pull
to bring the new changes.
Does somebody know how is the right way?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

git svn fetch
不会更新master
。看来需要手动完成此操作。我这样做git svn fetch
doesn't updatemaster
. It looks like one needs to do that manually. I do that like this