git svn - I tagged in git-svn, and now my master always commits to the svn tag! -
i've got basic git-svn setup:
[core] repositoryformatversion = 0 filemode = false bare = false logallrefupdates = true symlinks = false ignorecase = true hidedotfiles = dotgitonly autocrlf = true [svn-remote "svn"] url = https://svnserver:8443/svn/project fetch = trunk:refs/remotes/trunk branches = branches/*:refs/remotes/* tags = tags/*:refs/remotes/tags/*
i created tag off trunk (master in git) issuing following:
git svn tag -m "3.6.1" 3.6.1
this created new tag in svn @ /tags/3.6.1. in addition, saw new /remotes/tags/3.6.1 listed in remote branches.
at point, i'd checkout out local branch 3.6.1 remote , made changes. merged them master (i think big mistake). master seems think has history 3.6.1 tag.
now every time commit master dcommit, they're going 3.6.1 tag!
jakes@mymachine /cygdrive/d/projects/project (master) $ git svn dcommit committing https://svnserver:8443/svn/project/tags/3.6.1 ... m filethatchanged.js committed r6027
is there easy way can set things straight again?
been while since i've used git svn, try command this:
git branch --set-upstream svn/trunk
or
git branch --set-upstream refs/remotes/trunk
if doesn't work can post [branch "master"]
section of git config well?
Comments
Post a Comment