This repo is built as a testing ground to get better acquainted with Github Flow and Git Flow practices as well as exploring ways to script tagging and versioning.
Semver- each book is a major version. Each chapter is a minor version. Each fix is a patch version.
Version 0.0.0
Explore and document ways to automate tag creation, merges into main, merges back to develop, etc.
Create repository main
Create develop branch git checkout -b develop
Features get branched off of develop
git checkout develop
git branch -b feature-xSubmit pull request to develop branch.
Upon merge, delete feature branch in Github
Checkout develop. Pull copies from remote to local and also remove old remote branches
git checkout develop
git pull origin develop
git remote update origin --pruneDelete local copies of merged feature branchs. If you have not pulled the latest from your remote, Git will not know you merged and will issue a warning and prevent the action from taking place.
git branch -d feature-xVerify your local branches are clean
git branch -aHotfixes get branched off of main
git checkout main
git checkout -b hotfix-a./createRelease.sh {versionNumber}