GitHub でいくつかのファイルをコミットしましたが、サーバーで単一のファイルのみをプルしたいです。PuTTY を使用してそれを行うにはどうすればよいですか?
14934 次
2 に答える
5
git fetch
git checkout -m revision -- the/file/you/want
git add the/file/you/want
git commit
checkout the file you want and merge it with the current one
于 2012-06-28T13:52:42.203 に答える
2
次の URL から 1 つのファイルを取得できます。
https://raw.github.com/USER/PROJECT/BRANCH/FILE
于 2012-06-28T13:17:04.193 に答える