From 7adfe7b3e6b67cf1f008f7246dec8243167cae5b Mon Sep 17 00:00:00 2001 From: Robson Cruz Date: Wed, 2 Nov 2022 10:25:53 -0300 Subject: [PATCH] git-feature: add page (#9470) --- pages/common/git-feature.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 pages/common/git-feature.md diff --git a/pages/common/git-feature.md b/pages/common/git-feature.md new file mode 100644 index 000000000..bdeeccdfc --- /dev/null +++ b/pages/common/git-feature.md @@ -0,0 +1,21 @@ +# git pull + +> Create or merge feature branches. +> Feature branches obey the format feature/. +> More information: . + +- 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}} --remote {{remote_name}}`