git
Useful commands
git status
Gives general info
git reset --hard
Sets everything back the hard way.
git log --oneline --graph --decorate --all
Lists the repo tree
git lfs prune
Deletes local copies of LFS files which are old.
git pull --recurse-submodules=yes
Pulls repo plus submodules
After cloning a repository with submodules, you need to run:
git submodule update --init --recursive
This command:
--initinitializes all submodules listed in.gitmodules.updatechecks out the commit that the parent repository expects.--recursivealso initializes nested submodules.