如何在不打开raw(bitbucket)的情况下复制完整源代码

时间:2016-05-02 03:06:55

标签: git repository bitbucket

是否有任何快捷方式可以在不选择查看bitbucket file的情况下从raw file option复制整个源代码?

1 个答案:

答案 0 :(得分:2)

您可以使用archive the remote repo for one file尝试git archive --remote

git archive --remote=ssh://host/pathto/repo.git HEAD README.md | tar -xO