# GRITS 2024 Git workshop running notes
## Resources
#### Git clones and forks
TODO: Add links to charts
### Muscle memory
#### Do before every set of command:
- `git status`
- `git diff`
### Git branching tutorial
https://learngitbranching.js.org/?locale=en_US
### Favourite Aliases
* ```alias gitca='git commit --amend --no-edit'```
* ```remote_add() { if [[ -z "$2" ]]; then repo=$(basename $(pwd)); else repo="$2"; fi; git remote add "$1" git@github.com:"$1"/${repo}; git fetch $1; }```
### Useful tips and tricks (random collection)
* `gh` command line interface (https://cli.github.com/)
* ✅ Authenticate your git with browser-based login
### Feedback form: please fill it out, so the material can be updated and evolved to be more useful
https://docs.google.com/forms/d/e/1FAIpQLSdO08Kyi-V0-8cgvIlzpkIUk9Zi2rV0dgPUnNnX8ZWgz7foCg/viewform