Git snippets


Published 2021-07-07

Remove uncommitted files from staging area

git reset HEAD -- .

Check out a remote branch

git checkout origin/{branch_name}

Pages that link to this page