Github comming from svn

Git Config:
To get ready with git add these lines to .git/config (/home/USER/project/.git/config)

repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[branch "master"]
remote = origin
merge = refs/heads/master

[remote "origin"]
url =
fetch = +refs/heads/*:refs/remotes/origin/*
geometry = 1018x659+9+104 382 207


1.Create a branch:

git branch bname # create the branch
git checkout bname # switch to the branch
git remote add bname_1 # create a remote "folder" remotely
git fetch bname_1 # initialized the remofe "folder" locally
git push bname_1 bname:refs/heads/bname # initialize the remote "folder" remotely
git config branch.bname.remote bname_1 # add lines to .config file
git config branch.bname.merge refs/heads/bname # add lines to .config file

2.Switch branch:

git checkout bname # switches to bname
git checkout master # switches to master

3.Which branch am I on?:

git branch

4.Get branch from github:

git checkout --track -b bname origin/bname

5. Download a everything from github:

git clone
cd project
git checkout --track -b bname origin/bname


git tag "v0.2"
git push --tags

Enjoyed reading this post?
Subscribe to the RSS feed and have all new posts delivered straight to you.
  • HAL

    @masngarso88 1 unfollowed you between 5PM and 6PM. See who:

  • Henry

    I lately stumbled on your internet web site and have been reading along. i believed i’d leave my very 1st comment. Nice blog. i’ll keep visiting this website extremely frequently.

  • pink ugg boots uk

    strongzz Hey very nice blog!! Man .. Excellent .. Amazing .. I will bookmark your site and take the feeds also…I’m happy to find numerous useful info here in the post, we need work out more strategies in this regard, thanks for sharing. . . . . .