Tips & Tricks

Files not removed from .gitignore

Check if the files were already tracked: If the files you want to ignore were already tracked by Git before you added them to the .gitignore, they will continue to be tracked. You need to untrack them. You can do this by running the following command in your terminal:

git rm --cached FILENAME

Semantic Versioning

:: Add tag
git tag -a "v0.1.0-beta" -m "version v0.1.0-beta"
git show v0.1.0-beta
:: Get latest tag
git describe --abbrev=0 --tags

https://stackoverflow.com/a/46434732