git-feature

Create or merge feature branches. Feature branches obey the format feature/<name>. More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-feature>.

Install

All systems
curl cmd.cat/git-feature.sh
Debian Debian
apt-get install git-extras
Ubuntu
apt-get install git-extras
image/svg+xml Kali Linux
apt-get install git-extras
Fedora
dnf install git-extras
Windows (WSL2)
sudo apt-get update sudo apt-get install git-extras
OS X
brew install git-extras
Raspbian
apt-get install git-extras

Create or merge feature branches. Feature branches obey the format feature/<name>. More information: <https://github.com/tj/git-extras/blob/master/Commands.md#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 --remote remote_name

© tl;dr; authors and contributors