Created
September 30, 2022 10:47
-
-
Save chasgames/4fabc342f1f4318e0fb88e40dda1953d to your computer and use it in GitHub Desktop.
GIT get contents of file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1.1.1.1 = filename | |
### get commit ids | |
git --git-dir repo.git log -n 75 -- 1.1.1.1 | |
### get full commit version | |
git --git-dir repo.git show COMMITID:1.1.1.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment