This post will be an ever-evolving list of guidelines for personal projects to make my life easier. This rule will not be necessary for everyone.
Initialization
What we want is a parent folder, eg. ~/dev, and all subdirectories to share git user information.
Use git’s includeIf
| |
Reference:
This was used to designate repository-specific user name and emails.
This is not necessary if using the git’s includeIf.Old: Including the username when cloning a repo
1
2
3
# When cloning a repo, make sure it is in the form
git clone https://username@github.com/username/repository.git
# This makes it easier to avoid accidental mixes of accounts when commiting, and managing multiple repositories with multiple accounts are easier.
Tags to be used
I’ll try to use the tags below, but as you can see from my commit history, it’s all over the place… This list will be an ever changing list of tags that should be used.
| |