Type | Description |
---|---|
build: | Affect the build system or external dependencies (npm, gulp) |
chore: | Change unrelated to fix/feature/src/tests (bumping dependencies) |
ci: | Change continuous integration files/scripts |
docs: | Change documentation |
feat: | Introduce a new feature |
fix: | Patch a bug |
perf: | Improve performance |
refactor: | Neither fixes a bug nor adds feature |
revert: | Revert a previous commit |
style: | Do not affect meaning of code (formatting, whitespace, semi-colons, etc) |
test: | Add/Correct tests |
Further reading: https://www.conventionalcommits.org
git remote add upstream https://github.com/<USER>/<REPO>.git
git checkout feature
git rebase main
git push --force-with-lease origin feature
git checkout feature
git reset --hard upstream/main
git push --force
git log --oneline origin/main..feature
git fetch --prune