git commands

Create a new branch

git branch <branchname>

View branches (also gives hint on how to switch)

git branch

svn delete equiv:

git rm '<path with wildcards>'

switch to main branch (trunk?)

git checkout master

merge a branch into the currently active branch

git merge <branchname>

commit local copy to remote server. The -u flag remembers the path so in future all is needed is git push

git push -u origin master

Tags: git