Helpful git
Commands
Common source control management tasks with git
.
Resetting to Pristine State
git reset --hard
git clean -f -d -x
Example result/output:
Removing src/aws/constructs/BuildProject.d.ts
Removing src/aws/constructs/BuildProject.js
Removing src/aws/node_modules/
Setting Username and Email
git config --global user.name "John Doe"
git config --global user.email "john@asdf.com"