Git Commands

1 · Wen Wei Tseng · Sept. 4, 2023, 3:35 p.m.
Sources: Git reference Git cheatsheet (pdf) Common git commands When you screw up git Ordinary workflows § HEAD: the current state of the repo. Download a repository § Clone a git repo from a remote repository: git clone Checking out a perticular branch: git clone -b If there are submodule(s) in the Git repository, you might want to clone them as well using the --recursive option....