How to sparsely checkout only one single file from a git repository?

前端 未结 21 1578
Happy的楠姐
Happy的楠姐 2020-11-22 08:14

How do I checkout just one file from a git repo?

21条回答
  •  北海茫月
    2020-11-22 08:55

    Minimal Guide

    git checkout --


    Ref: https://git-scm.com/docs/git-checkout

    Dup: Undo working copy modifications of one file in Git?

提交回复
热议问题