Skip to content

Commit

Permalink
Merge pull request progit#488 from mkarg/patch-1
Browse files Browse the repository at this point in the history
Strip "origin/" prefix from branch name
  • Loading branch information
ben committed Jan 4, 2016
2 parents b441e68 + 275e910 commit 1b79c6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions book/09-git-and-other-scms/sections/import-svn.asc
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ Next, move the rest of the references under `refs/remotes` to be local branches:

[source,console]
----
$ cp -Rf .git/refs/remotes/* .git/refs/heads/
$ rm -Rf .git/refs/remotes
$ cp -Rf .git/refs/remotes/origin/* .git/refs/heads/
$ rm -Rf .git/refs/remotes/origin
----

Now all the old branches are real Git branches and all the old tags are real Git tags.
Expand Down

0 comments on commit 1b79c6d

Please sign in to comment.