$git branch To check out visually what your branches are doing:
$gitk To create a branch:
$git branch newbranchname To change to a certain branch:
$git checkout branchname To merge the changes made in the branch "branchname" into the current branch:
$git merge branchname After merging the branch is not deleted automatically. To delete it:
$git branch -d branchname To undo a merge:
$ git reset --hard HEAD Merge branch obsolete into the current branch, using ours merge strategy:
$ git merge -s ours obsolete
Take out of source control some directories:
$ git rm -r --cached Somefolder/bin
No comments:
Post a Comment