How do I make git-svn use a particular svn branch as the remote repository?
A word of warning: I'm a n00b to
git in general. My team uses feature branches in
svn, and I'd like to use
git-svn to track my work on a particular feature branch. I've been (roughly) following Andy Delcambre's post to set up my local
git repo, but those instructions seem to have led
git to pick the
svn branch that had changed most recently as the remote repository; the problem is that's not the branch I care about. How do I control which branch
git-svn uses? Or am I approaching this completely wrong?
UPDATE: I did use the
-t options (in my case because the
svn repo has multiple projects, but I want the
git repo to contain only the project I'm working on).
How can I check what branch svn dcommit from my currently checked out branch is going to push to?
I am thinking about why the Git command use git push <remote> :<branch> like git push origin :featureA to delete featureA branch in the remote server. I am interest that why make the colo
I am working with a SVN repository. I already have a local copy (i did a checkout). Now I edited some files in that repository and saved them. How do I transfer them to the server. Is it like GIT wher
I've got a git-svn clone of an svn repo, and I want to encourage my colleagues to look at git as an option. The problem is that cloning the repo out of svn takes 3 days, but cloning from my git instan
So we just got the notice that a number of our projects are being shut down that are currently hosted on sourcerepo.com. Granted, that I could just update from the head revision and let everything be
I'd like to grab a single branch (not all of them) of a remote repository and create a local tracking branch that can track further updates to that remote branch. The other branches in the remote repo
I see it is possible to view a list of properties set on every directory within an SVN repository using proplist and the -R flag (recursive) and -v flag (verbose): svn proplist -Rv This shows me all
I want to check if a branch on a remote Git repository contains a merged branch with a specific name. For example: There is a remote repository at www.example.com:/repo.git. In that repository, there
Basically I want svn status -u to display only the files changed by a particular user since so that I can update only those.
I know you can convert svn repository to mercurial repository (or use mercurial as a client to svn repo) but what I want is to convert mercurial repository to svn repository. We have some tool that us
How do you know the version of the remote mercurial repository ? the remote repository i want to check version is accessible only via http protocol. the question is use correct client version of Mersu
I'm not exactly sure how this happened, but we have a branch on our remote repository that has a space in it's name: remotes/origin/Dev 3 I'm trying to remove this branch using the following command,
This question already has an answer here: Make an existing Git branch track a remote branch? 10 answers I created a new local branch and pushed it with git push origin my-branch How can I auto
I git clone a repository, then made some change in the local. Now I need to pull content from remote master branch, but 1) I want to keep my changes in local; 2) I don't want to push my changes to rem
I have a SVN repository which I checked out with git-svn, using the --stdlayout option (at that time, the repo was empty). I then worked on the master branch for a while. When using git svn dcommit, i
I have just installed Subversion (Collabnet). The documentation explains how to create repositories which i have done but i cant figure out how to create a specific layout. I want to create this layou
I want to track a remote master branch from a new remote repository. Both do already exist. How do I go about this in git? I can't seem to get it right. I tried: git remote add otherRepo git://... gi
I started working on what I thought would be a small change to trunk, walked away for a month and now I realize this is really a whole side-project (full of bugs) that really needs its own branch. Fur
I've created a Git Clone of a SVN repository using git-svn. When doing this I specified the --prefix option to prefix my remote branches. I now want to get rid of this prefix. Is there a way to update
I used reposurgeon to convert ma svn into a git repository here: (How do I convert an svn repo to git using reposurgeon?). It seems like it converted all tags to annotated tags. How can I change tha
I was working on a remote svn repository that looked like this: repository/ .trunk/ .tags/ .branches/ ..branch1 ..branch2 ..branch3 And I accidentally deleted the entire branches directory! What shoul
How can I change the type of all the files in a repository SVN who have the extension xml from the binary type to text. I do not want to change the type of one file only but all files with extension .
I have a remote SVN repository (X) where a freelance developer is committing his work. However, in my company we work with GIT and are using git-svn to interoperate GIT and SVN. That's ok! So, I've cl
I finished to commit and push changes on remote git repository but when I view remote repository's files, these are outdated. I'm using Git Bash. View image The red text are changes made in repositori
I do SVN check out for a tree of multiple branches, and I use the buildnumber plugin to get the SVN revision with javasvn implementation provider. When I try to build a particular branch, it seems t
I have a git repository which tracks an svn repository. I cloned it using --stdlayout. I created a new local branch via git checkout -b foobar Now I want this branch to end up in …/branches/foobar in
As the title says I am trying to create a new branch in git on the remote repository. To do this I have previously been using the following command. git push origin origin:refs/heads/rounding_issue W
A SVN repo I use git-svn to track was recently corrupted and a backup was recovered. However, a week's worth of commits were lost in the recovery. Is it possible to recover those lost commits using gi
I've taken over a web application that is using Subversion. When the code is released, a tag is created in the repository, and then the 'svn update' command is used on the server to bring the release
I am using GIT on top of one centralized SVN repository. The SVN repository only contains trunk, no tags and branches. What I did before is using git svn to clone the remote repository to my local git
How do I pull all of the remote branches to my own repository? if I type: git branch -a I get a long list of branches, but if I type: git branch I see only 2 of them. How do I pull ALL branches into
We would like to move our code from the local SVN server to a hosted solution, how should we copy and re-import the code into the hosted SVN server. The main problem is we don't want to point to the o
I want to clone the public Linux master branch from Kernel.org so I can experiment with the code on my personal computer without affecting the public branch. I have already performed git clone and a c
I'am using git as scm of choice but have to use a svn-repo. I can create a svn-remote-branch like this: git svn branch the_branch But how can i delete the remote branch?
Say my SVN repository looks like: project/ trunk/ README foo/ bar.sh and I have a local, unversioned directory like so: svn/ project/ trunk/ README foo/ hum.sh if my cwd is svn and I svn checkout ht
I install Subversion SVN Team Provider, Subversion SVN Team Provider Localization and SVNKit Library. I Create local directory(D:\java\repository) and want use it as location for SVN repositor. When I
I have a domain. And I have a dedicated windows server. It has svn installed and I created a svn repository. How do I setup usernames and passwords to access it. And how do I access it remotely withou
I do not want to rename a remote branch, as described in Rename master branch for both local and remote Git repositories. Instead, I want to use simplest way to rename local branch, which is not pushe
We have two repositories, one for current code and one for project management. Now we need to branch code to the project management repository. SVN gives me an error, and I found in the documentation
How do I delete a remote master branch from GitHub/Bitbucket? I'm trying: # git push bb --delete master remote: bb/acl: user is allowed. accepted payload.[K remote: error: refusing to delete the curre
I am pretty new using both Zend-Studio as well as SVN. I have checked out the trunk of my project. How do I commit changes as a branch of the trunk? Thanks in advance, fischer
I have open source project in Git repository. In the project, I'm using source code of another open source project. That code is stored in Git repository subfolder. I'd like to add the SVN repository
I find it confusing to that in git, to remove a remote you use 'remote rm'... git remote rm myremote ...while the syntax for deleting a branch requires the -d (or -D) switch: git branch -d mybranch
How to merge branch back to trunk in SVN with all commit history? I know in Git I can use merge -squash Is there any equivalent command in SVN? I am using SVN 1.6.
Is there a handy way to get my local git repo to forget about remote branches that have been deleted? git svn fetch doesn't re-sync everything like I hoped it might. My local repo was set up with us
Another developer has deleted and rebuilt a remote branch called development which I already have a checked out copy. He did this delete and rebuild to remove some cruft from it. Which is great. But
I have tried the following command on my SVN Repository to clone only a single branch via git. git svn clone http://svn.supose.org/supose/branches/B_0.7.1 but got the the following error message: Ini
I am wanting to bring a newly added remote branch into my local repository without interfering with my local branches. Is this possible? When I do: git branch -a The new remote branch doesn't appear
I have svn working, because when I type in svn help it gives the svn commands showing me it's installed. How do I set my svn url? I have my SVN via Beanstalk, I just need to figure out how to get the
I created a branch one week ago and did some change. Then I committed and merged my branch into the trunk. Now, I want to change some code again. I use svn update to update the trunk to the latest