Standard:
git init [DIR]
Bare:
git init --bare [DIR]
See commits between branches:
git log master..develop
git branch
git checkout BRANCH
git branch -d BRANCH
git push origin -d BRANCH
List branches with commits, which are not in branch REF:
git branch --no-merged REF
For example, list unmerged branches, which are not in develop
:
git branch --no-merged develop
List commits in branch BRANCH, which are not in branch REF:
git cherry -v REF BRANCH
For example, list commits in a feature branch, which are not in develop
:
git cherry -v develop feature/FEATURE
git svn fetch
git flow init
git flow feature start FEATURE git flow feature finish FEATURE
git flow release start RELEASE [BASE] git flow release finish RELEASE
git flow hotfix start VERSION [BASENAME] git flow hotfix finish VERSION
If you only want the changes files between branches, you can user this:
git diff --name-status branchA..branchB