git checkout main -- /path/to/file
git checkout other-branch -- /path/to/file
git checkout a1b2c3 -- /path/to/file
Last active
December 6, 2023 09:25
-
-
Save james-jenkinson/3eec494ac7de728585426e1cfbc7a2fd to your computer and use it in GitHub Desktop.
Git cheatshet
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment