Git workflows
Initialise a new repo
Normal will create your remote repo in
Puppet will create your remote repo in
Clone an existing repository
Locations for cloning repositories or modules Branch checking
Shows the current remote a local braches |
Switching Branches
Switches to a new branch. In git flow you will want to be working on the develop branch or features branch. Checking git transactions
Status Checking
Shows the status of the current directory Commiting
will only commit already tracked files. If you create new files you need to use
Git flow Features branch
Features are useful for large repositories with multiple files, or repositories where multiple people will be working at the same time. |
Git flow Hotfix branch
The hotfix branch is used to create fixes to the master branch, and then merge them back into the develop branch. Git flow Release branch
The release branch is used to merge the develop branch into master Pushing changes
Pushes your changes to the remote repository |
Cheatography
https://cheatography.com
git-flow Cheat Sheet (DRAFT) by glisignoli
git flow cheat sheet
This is a draft cheat sheet. It is a work in progress and is not finished yet.