search

Home  >  Q&A  >  body text

git 如何从远程抓取指定的文件

比如我只对 https://github.com/hy0kl/node/blob/ma... 文件有兴趣,有什么办法不 clone 整个仓库,只抓取指定的文件?

PHP中文网PHP中文网2801 days ago549

reply all(2)I'll reply

  • ringa_lee

    ringa_lee2017-04-21 11:18:15

    Click Raw directly, the link is the source file, download or copy

    reply
    0
  • 怪我咯

    怪我咯2017-04-21 11:18:15

    Access this file directly:
    https://github.com/hy0kl/node/blob/ma...
    Then click edit after get off work, modify, and submit.
    Remember to propose File Change
    Ha ha.

    reply
    0
  • Cancelreply