Created
July 30, 2025 18:08
-
-
Save rpromyshlennikov/986e7741f8a53617dfafc15c437c2966 to your computer and use it in GitHub Desktop.
Get one file from remote repo
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
| # Does not work with github because of https://github.com/isaacs/github/issues/554 | |
| FILE=README.md && git archive --remote=ssh://[email protected]/username/repo.git HEAD "$FILE" | tar -x "$FILE" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment