Submodule update
Initialize and update all submodules recursively
git submodule update --init --recursive
More git commands
-
git show <sha>:path/to/filePrint the content of a file at a historical commit
-
git log --oneline --graph --decorate --all | head -40Compact visual branch graph of the entire repo
-
git log -S 'password' --oneline --allFind all commits that added or removed the string 'password'
-
git commit --amend --no-editInclude staged changes in last commit without changing message
-
git push origin --delete feature/old-branchRemove a branch from the remote repository