标签: git repository bitbucket
是否有任何快捷方式可以在不选择查看bitbucket file的情况下从raw file option复制整个源代码?
bitbucket file
raw file option
答案 0 :(得分:2)
您可以使用archive the remote repo for one file尝试git archive --remote。
git archive --remote
git archive --remote=ssh://host/pathto/repo.git HEAD README.md | tar -xO