User Tools

Site Tools


info:code:git

Git

Basics

Init Repository

Standard:

git init [DIR]

Bare:

git init --bare [DIR]

Log

See commits between branches:

git log master..develop

Branches

List Branches

git branch

Switch Branch

git checkout BRANCH

Subversion

Update

git svn fetch

Git Flow

Init

git flow init

Feature

git flow feature start FEATURE
git flow feature finish FEATURE

Release

git flow release start RELEASE [BASE] 
git flow release finish RELEASE

Hotfix

git flow hotfix start VERSION [BASENAME]
git flow hotfix finish VERSION
info/code/git.txt · Last modified: 2016-09-09 11:15 by andunix