Git
git checkout
is deprecated.
git checkout --<file> will discard working tree changes.
recall that your working-tree is working-directory. similarly there is a staging area and a place to commit things.
finally, there is also the upstream repository that contains a copy of the code should shit go to fuck.
que
<figure><img src="https://ox-hugo.scripter.co/test/images/org-mode-unicorn-logo.png">
</figure>
He puts his claw against the divider. “Fist my bump.”
Andy Weir, Project Hail Mary
does it matter what I write?
Backlinks
1. Version Control /wiki/ccs/vc/
notes
it is good to keep notes about version controlling things.
I mostly use git.
git
| prefix | use-case |
|---|---|
| BUG | bug fix |
| DEV | development tool or utility |
| DOC | documentation |
| ENH | enhancement, a new feature |
| MAINT | maintainence task |
| REL | release |
| STY | stylistic change |
| TST | addition or modification of tests |