相关疑难解决方法(0)

git-svn:无法设置跟踪信息; 起点不是分支

在git 1.7.9.5中,我可以运行以下行而不会出现错误:

export SVNPASS=readonly
git clone git@github.com:dtenenbaum/RGalaxy.test.git
cd RGalaxy.test/
git config --add svn-remote.hedgehog.url https://hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/RGalaxy
git config --add svn-remote.hedgehog.fetch :refs/remotes/hedgehog
# the following is a shortcut to avoid fetching every commit since antiquity, since I happen to know the commit number
# where this folder was added to svn:
echo $SVNPASS | git svn fetch --username readonly hedgehog -r 65762:HEAD
git checkout -b local-hedgehog -t hedgehog
Run Code Online (Sandbox Code Playgroud)

在git 1.8.3.4和1.8.4.1中,最后一行导致:

fatal: Cannot setup tracking information; starting point 'hedgehog' is not a branch.
Run Code Online (Sandbox Code Playgroud)

对 …

git git-svn

22
推荐指数
2
解决办法
9388
查看次数

标签 统计

git ×1

git-svn ×1