- Delete local repo from .git version control (Windows run inside Bash)
- Create a new repo
- Checkout repo from remote
git clone /path/to/repository
- Add
- Commit to local
git commit -m "Commit message"
- Push changes to remote
- Create a new branch named "feature_x" and switch to it using
git checkout -b feature_x
- Delete the branch
- Get latest local master branch from remote
- Merge local branch (cd to master first)
- View git logging in summary
- Discard all local changes to all files permanently
- Add file to .gitignore and remove existing check-in
git reset file_name_x <br/>
git rm --cached file_name_x <br/>
[Stackoverflow example](https://stackoverflow.com/a/4308645/2965356)
- Sample
* feature: add claimUsername test helper
* test: ensure that username is at least 5 characters long
* test: ensure that in-use username cannot be claimed
* refactor: have registerNewTestUser use claimUsername
* refactor: have completeUserOnboarding use claimUsername
* style: Feature and updates related to styling
* docs: Everything related to documentation
* chore: Regular code maintenance.