Arjun Suresh (talk | contribs) |
|||
(3 intermediate revisions by one other user not shown) | |||
Line 30: | Line 30: | ||
*Merges a branch with the current branch | *Merges a branch with the current branch | ||
git merge <branchname> | git merge <branchname> | ||
+ | |||
+ | [https://git-scm.com/docs More documentation] | ||
Line 37: | Line 39: | ||
<div class="fb-share-button" data-type="button_count"></div> | <div class="fb-share-button" data-type="button_count"></div> | ||
− | </ | + | |
+ | |||
+ | <disqus/> | ||
[[Category:Technical]] | [[Category:Technical]] |
git init
git remote add <name> <url>
git pull <name> serverbranch:localbranch
git add <filename>
git commit -m "<commit message>"
git push <name> localbranch:serverbranch
git checkout <branchname>
git checkout -b <branchname>
git branch
git merge <branchname>
git init
git remote add <name> <url>
git pull <name> serverbranch:localbranch
git add <filename>
git commit -m "<commit message>"
git push <name> localbranch:serverbranch
git checkout <branchname>
git checkout -b <branchname>
git branch
git merge <branchname>
</disqus>