mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-12 23:47:59 +00:00
Update cheatsheets
This commit is contained in:
29
git-flow
Normal file
29
git-flow
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# git flow
|
||||
|
||||
> A collection of Git extensions to provide high-level repository operations.
|
||||
> More information: <https://github.com/nvie/gitflow>.
|
||||
|
||||
- Initialize it inside an existing Git repository:
|
||||
|
||||
`git flow init`
|
||||
|
||||
- Start developing on a feature branch based on `develop`:
|
||||
|
||||
`git flow feature start {{feature}}`
|
||||
|
||||
- Finish development on a feature branch, merging it into the `develop` branch and deleting it:
|
||||
|
||||
`git flow feature finish {{feature}}`
|
||||
|
||||
- Publish a feature to the remote server:
|
||||
|
||||
`git flow feature publish {{feature}}`
|
||||
|
||||
- Get a feature published by another user:
|
||||
|
||||
`git flow feature pull origin {{feature}}`
|
||||
Reference in New Issue
Block a user