LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

git-feature

Create and manage feature branches with standardized workflow

TLDR

Create feature branch
$ git feature [feature_name]
copy
Create feature branch with remote tracking
$ git feature [feature_name] -r [origin]
copy
Create feature branch from a specific start point
$ git feature [feature_name] --from [develop]
copy
Finish feature branch (merge and delete)
$ git feature finish [feature_name]
copy
Finish with squash merge
$ git feature finish --squash [feature_name]
copy

SYNOPSIS

git feature [-a prefix] [-s separator] [-r [remote]] [--from startpoint] name_...git feature finish [--squash] name...

DESCRIPTION

git feature provides high-level commands for working with feature branches following a standardized naming convention. As part of the git-extras suite, it simplifies the common workflow of creating, developing, and completing feature work in separate branches.When creating a feature branch, the command automatically applies a "feature/" prefix to maintain consistent naming across the repository. The finish subcommand handles merging the feature back into the main development branch and cleaning up afterward, encapsulating multiple manual git operations into a single command.

PARAMETERS

-a PREFIX, --alias PREFIX

Use a custom branch prefix instead of "feature".
-s SEPARATOR, --separator SEPARATOR
Use a custom separator instead of "/".
-r [REMOTE], --remote [REMOTE]
Set up a remote tracking branch (defaults to origin).
--from STARTPOINT_
Create the feature branch from a specific commit or branch.
--squash
Perform a squash merge when finishing.

SUBCOMMANDS

finish

Merge feature branch into the current branch and delete it.

INSTALL

sudo apt install git
copy
sudo dnf install git
copy
sudo pacman -S git
copy
sudo apk add git
copy
sudo zypper install git
copy
brew install git
copy
nix profile install nixpkgs#git
copy

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid