So heres what I did - got it working :D

you do this:

git svn clone -s -r ##:HEAD svn://path/to/repo

then you do a git branch - see master

after that you do a git branch --track branchname remotes/branchname

then youll see:

*master
branchname

this basically states to create and check out the contents in the branches 
folder in the svn repo to the git and to track its content to keep them 
insync with eachother.

On Thursday, August 9, 2012 3:03:03 PM UTC-6, Thomas Ferris Nicolaisen 
wrote:
>
>
>
> On Thursday, August 9, 2012 6:24:22 PM UTC+2, adrienk wrote:
>>
>> Ok so I am sorry if this is not the right place but I didn't know where 
>> else to ask. Its kind of a stupid question and I have been up and 
>> down Google but the answer is either in front of me or its no where.
>
>
> You're asking in the right place, so no need to apologize for that :)
>
> Can some one explain why when I have a branch named clean git is not 
>> seeing it when it clones the svn repo and and creating it?
>>
>> this would be very much appreciated if some one can answer this.
>>
>
> There *should* be a branch in your git-svn clone, as far as I can see. It 
> will only be shown when you do git branch -a, like you do, if it was 
> working that is.
>
> So there is something fishy going on. 
>
> My first idea would be that you have cloned a limited revision range that 
> does not include any commits into the 'clean' branch. It could be that it 
> is therefore not picked up as a branch.
>
> Try leaving out the -r argument and do the git-svn clone again from 
> scratch to a new directory, and see if that helps. This will scan the 
> entire SVN history for commits (and branches).
>

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/git-users/-/Gltu0TpkzIwJ.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.

Reply via email to