List files in local git repo?

前端 未结 3 1659
北海茫月
北海茫月 2020-11-28 00:27

I\'m using Sparkleshare, which uses Git to sync files between my laptop and my backup server.

Now I want to be able to browse in the files and dirs that I\'ve upload

3条回答
  •  Happy的楠姐
    2020-11-28 00:47

    Try this command:

    git ls-files 
    

    This lists all of the files in the repository, including those that are only staged but not yet committed.

    http://www.kernel.org/pub/software/scm/git/docs/git-ls-files.html

提交回复
热议问题