1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-08 05:45:59 +02:00
tldr/pages/common/git-feature.md
Nelson Figueroa 53c8c7169a
git-*: update Korean translations (#16654)
Co-authored-by: Sebastiaan Speck <shem.speck@gmail.com>
2025-05-29 12:38:16 +03:00

21 lines
631 B
Markdown

# git feature
> Create or merge feature branches.
> Feature branches obey the format feature/name.
> More information: <https://manned.org/git-feature>.
- Create and switch to a new feature branch:
`git feature {{feature_branch}}`
- Merge a feature branch into the current branch creating a merge commit:
`git feature finish {{feature_branch}}`
- Merge a feature branch into the current branch squashing the changes into one commit:
`git feature finish --squash {{feature_branch}}`
- Send changes from a specific feature branch to its remote counterpart:
`git feature {{feature_branch}} {{[-r|--remote]}} {{remote_name}}`