Changes

Jump to navigation Jump to search

Git svn

198 bytes removed, 22:46, 21 July 2013
Now add this as a private remote, by setting the remote name '''hub'''.
git remote add hub https://GIT_USER_NAME@github.com/GIT_USER_NAME/trunk.git
 
Now fetch changes from remote hub
git fetch origin
git fetch hub
git branch -a
 
We now change to your hub branch
git co hub/master
See the log messages with
gitk
Merge in, the svn master branch
git merge master
git log
gitk
We need to make a setting [http://stackoverflow.com/questions/948354/git-push-current-branch how we push branches.]
git config push.default simple
 
Then send it of to github
git push hub
==== For branch relax_disp ====
git remote add hub https://GIT_USER_NAME@github.com/GIT_USER_NAME/relax_disp.git
==== git operations ====
Now fetch changes from remote hub
git fetch origin
git branch -a
We now change need to your hub make a setting [http://stackoverflow.com/questions/948354/git-push-current-branchhow we push branches.] git co config push.default simple First get the latest changes from remote git pull hub/masterSee the git log messages with Then send svn branch master of to github gitkgit push hub master
== See also ==
[[Category:git]]
Trusted, Bureaucrats
1,382

edits

Navigation menu