Git
Reset to HEAD
- git reset
--hard
HEAD
Branches
- branch commmand
- list branches
git branch -l
- list branches
- creating
git checkout -b <branch_name>
Import File from Current Branch to
git restore --source otherbranch path/to/myfile.txt
Submodules
- Git - Submodules: git-scm.com
- create a new submodule from scratch
- add repo to github
- add some kind arter file to the repo
- using submodules does not appear to work otherwise
git submodule add <url> <local_dir>
- complete deletion of submodule