Useful things you can do with git.
- Cross-repository issue tagging:
- [org/repo#407]
- Reset local branch to match origin (throw away local commits):
git reset --hard origin/<branch_name>
- See diff between local and remote:
git diff origin/main..HEAD
- See files changed between local and origin after a fetch: