Skip to content
This repository has been archived by the owner on Nov 2, 2022. It is now read-only.

Commit

Permalink
Merge pull request progit#27 from rones/progit
Browse files Browse the repository at this point in the history
Only took the SVN chapter addition and reworded it a bit.
The makepdf stuff conflicted.

Conflicts:
	latex/makepdf
  • Loading branch information
schacon committed Dec 28, 2010
2 parents 0559821 + f6b154c commit a820351
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion en/08-git-and-other-scms/01-chapter8.markdown
Expand Up @@ -405,7 +405,11 @@ Next, move the rest of the references under `refs/remotes` to be local branches:
$ cp -Rf .git/refs/remotes/* .git/refs/heads/
$ rm -Rf .git/refs/remotes

Now all the old branches are real Git branches and all the old tags are real Git tags. The last thing to do is add your new Git server as a remote and push to it. Because you want all your branches and tags to go up, you can run this:
Now all the old branches are real Git branches and all the old tags are real Git tags. The last thing to do is add your new Git server as a remote and push to it. Here is an example of adding your server as a remote:

$ git remote add origin git@my-git-server:myrepository.git

Because you want all your branches and tags to go up, you can now run this:

$ git push origin --all

Expand Down

0 comments on commit a820351

Please sign in to comment.