Simple git flow
-
Download latest version of
lsgit
:sudo curl -L "https://github.com/loque/ls-git-flow/blob/main/lsgit" -o /usr/local/bin/lsgit # FIXME: sudo curl -L "https://github.com/loque/ls-git-flow/releases/download/v0.1.0-beta/lsgit" -o /usr/local/bin/lsgit
-
Apply executable permissions to the binary:
sudo chmod +x /usr/local/bin/lsgit
Create and checkout to a new feature or subfeature branch.
lsgit start [BRANCH NAME]
Merge the current branch to its parent branch and delete it.
lsgit end
Bring changes from the default branch to the current one.
Soon: If the current branch is a subfeature, changes will be merged from default to the feature and THEN to the subfeature.
lsgit update
https://www.git-tower.com/learn/git/faq/git-rename-master-to-main