Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 470 Bytes

File metadata and controls

24 lines (17 loc) · 470 Bytes

Cheat sheet

Configuration

# if the 'Filename too long' occurs
git config --system core.longpaths true

Switch branch

Git

# Create and switch to a branch with the same name as the given remote reference
git checkout --track <remote> (e.g., origin/feature/issue201)

Git Flow

# Create and switch to a branch with the same name as the given origin branch
git flow feature track <feature-name> (e.g., issue201)