Subversion to Git: Clone creating branches?
I am converting a large (>6500 commits) Subversion repository to a Git repo and have been running into some problems I am hoping someone can help with. Here is where I'm at:
I created a local Subversion repository backup of the remote repository. I am converting that repository to Git using this:
git svn clone svn://localhost/svn gitrepo –no-metadata -A authors-transform.txt -t tags -b branches -T trunk
This does create a Git repo, but when it does, it is creating some additional branches with what looks like commit numbers. I definitely don't intend for those to be there. After cleaning up a little bit from the clone, my ".git/refs/heads/" folder looks like this:
Is there any reason why git svn clone would be doing this? Is there something in those commits that might be creating an entirely new branch?
Also, before I push this newly created Git repo to GitHub, should I have both a master and a trunk branch? I'm not sure what Git / GitHub is going to look for exactly. Thank you!
I am trying to contribute to a project and I'd like to use git-flow workflow(?) on what I work. Say, I have checkout'd the develop branch of the remote repository (github) and that I've setup 2 featur
We just converted a Subversion repository to a Git repository using Atlassian Stash's Import Subversion tool. For the most part is seems to have worked though the .gitattributes it generated seem to l
I have a set of GIT repositories that I always have different activities on differrent branches and they are all pushed to github the activities are linked to Redmine and would trigger Redmine to pick
Sometimes my git clone command hangs: git clone -v firstname.lastname@example.org:user/repo.git Cloning into repo... remote: Counting objects: 105350, done. remote: Compressing objects: 100% (28919/28919), done. Rece
Assuming that I'm starting a new web project at home using Visual Studio, which version control system, viz. Git or Subversion will be better to use? Which one will have the least setup complexity?
I have this problem: I could git clone email@example.com:myrepo repos on my gitolite server. After that I installed git-daemon to be able to do the same with git protocol. Now I can git clone git://mys
I am currently doing a git svn clone from an svn repository that has quite a few branches and tags, and it is taking quite long time (2 hours and counting). Is it fetching file contents from all of th
I did git clone git://foo.git cd foo ...edit files.. now I want to start fresh. I don't care about any changes I already made, but I don't want to clone the whole giant foo.git again, just lose all m
This is my first time to construct the git server. When I use TortoiseGit-22.214.171.124-32bit to handle the operation, everything is fine! But if i use the git clone command or git bash, the git clone proce
Is it possible to use two different source control plugins on the same IDE? (subversion and git) thanks
I'm using git for developing a current project on my local machine. There exists a subversion server which I have to update from time to time, based on my current master branch. Lets say my directory
I have a SVN repo and would like to use git from now on. I tried to clone the repo with 2 approaches. Normal SVN checkout git svn clone The first approach did just fine. Everything is fine and the p
Just asking a simple question. What is the best way to merge two Subversion branches together? I wish to merge branch name 3661 into branch name 2011-01-17 3661 has a revision code of 16658 2011-01-17
I'm using a git bare repo on a usb storage as a transport mechanism for work between different locations. I initiated the usb storage by doing: git clone --bare /path/to/clone The question is how to r
I had an interesting thing happen using git, wondering if anyone could explain it to me so I can understand better. When doing a merge of multiple branches (A,B), git merge A B fails as non-fast-fo
We're working with git in a master and multiple branches strategy. How many branches? A lot, some quite long living (10 long living team branches and 20-30 short living branches off them is normal
If I fixed a bug in a file in branch branch_a, which should be applied to all branches. Is there a way to apply the change to all branches without having to checkout the branches individually. git com
I have a subversion repository with the standard layout, i.e. trunk/ and branches/ (and tags/). When working on a bigger change, a feature branch is used, regularly synced with trunk, and later reinte
I would like to simplify this Git history, which contains several Git branches: * 83bc4db |\ | * 66c64f9 | * 32c1a93 | * 8b5fd0c | * 501454e | * b316bac | |\ | * | 6d8f409 | * | ca9747a | * | fa37e88
I'm puzzled how to use branches in git to save temporary work. This is what I tried: /tmp/gt > git init Initialized empty Git repository in .git/ /tmp/gt > date > t /tmp/gt > git add t /tm
How can I list any local branches that appear (as per .git/config) to be tracking remote branches that no longer exist? Remote branches are on GitHub in this case but I suspect their location has no r
I have cloned my svn repo using git, specifying branches and trunk (no tags involved). Then, I ran fetch for a limited range of revisions. Now, I have: $ git branch * master and $ git branch -r versi
There are a bunch of files in my project that are sometimes modified but always shared among many different branches. Examples include build scripts, batch files that include paths, etc. Even the .git
I am interested in step by step workflow that a Git client does when you execute clone command over HTTP protocol. Let's say your Git repository is located here http://gitserver.com/gitrepo. When you
I've searched around for that and while there are plenty of ways to get such vizualization for all branches (Visualizing branch topology in git, Pretty git branch graphs), I can't seem to find a way t
What is the difference between , 1. Select Git Clone ? 2. Select Git Create repository here .. and then Pull from repository ? As shown like image. EDIT : Actually we are going to use Review Board a
I have two directories on my local machine pointing to the same remote git repository. When I issue the command git branch -r in one of the directories I get a longer list of remote branches then in t
being new to git, I have this dumb question - what is the correct way of using feature-branches ? From what I have gathered, this is how I thought it should be used: got some 'develop' branch from whi
Here is my git workflow. I work from two different computers (A and B) and store a common git remote in dropbox directory. Let's say I have two branches master and devel. Both are tracking their remot
How to restore deleted branches. I've made git push --prune and seems that nearly all branches were deleted remotly. Please help me!!
I have project with many branches. I would like to work on these simultaneously without switching back and forth with git checkout. Is there any way I can do that besides copying whole repository some
A git svn clone with --stdlayout get me multiple branches if the source SVN repo has multiple branches (and tags). I want to push all of them to another git repo. The git svn clone did seem to have re
we have a git svn repo that fetches from svn and shows all the branches. we then have a bare clone of that which people can push to which only shows branches that have tracking branches on the git-svn
I'm looking into setting up a gated commit workflow using git branches for each developer like this: Each developer has their own remote branch. A developer only pushes to their remote branch. The C.
I have a project in svn that is set up as: project branches/ tags/ trunk/ when ever I do a git svn clone -s -r ##:HEAD path/to/svn All I get is a series of file and folders that I believe comes from
I've created a bare repository than cloned it. When I do git branch -a nothing is showed. How come I don't even see the default master branch? Although git bash shows the following: /some/path/project
I've set up tracking branches with the --track option, and when I do a git pull on master, it fetches all branches to origin/branchname but doesn't merge with the local tracking braches. This is extra
The --all parameter is used in various git commands to refer to all branches. Is there an equivalent for all non-remote branches? (Specifically, this came up using git-filter-branch, I'd like to work
I have a Subversion server with a few different projects in the standard layout like so: ProjectA/ trunk/ branches/ tags/ ProjectB/ trunk/ FolderOfBinaries/ SourceFolderA/ SourceFolderB/ SourceFolderC
I am new to git and IntelliJ. I would like to get the source code for a project from a remote git repository and work on it using IntelliJ. I am use to Eclipse and SVN which has a Checkout as Project
No matter what git clone url I use, git always clones one of my old projects from bitbucket. For example when I do something like this: git clone https://github.com/heroku/php-getting-started.git ins
Is git-svn clone on linux the same as git svn clone on the mac? On Linux I know I can do the following command to clone a svn repo git-svn clone -s http://example.com/my_subversion_repo local_dir
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
I keep hearing people say they're forking code in git. Git fork sounds suspiciously like git clone plus some (meaningless) psychological willingness to forgo future merges. There is no fork comman
Here's the situation. There are 3 branches on github: master, his-tests, my-tests Let's forget about the master branch for a moment. After the initial work on master, a person I work with created a br
I have 2 local repositories called develop and master; they are similar. On my company's server there's 1 main repo (production) and several branches that were made by other developers: $ git b
I'm learning git and I don't understand why we need branches. Why not just develop in a linear fashion?
I am new to Git and am trying to clone repo from another directory. Lets say I have one repo in C:/folder1 and C:/folder2 I want to clone the work in folder1 into folder2. What would I type into the c
I have a SVN repository that looks something like this: branches ...various branches (none yet) tags ...various tags (none yet) trunk common doc extlib proj I run: git svn clone --stdlayout ht