git-ls-files Questions
10
Solved
Is there a way to use a command like git ls-files to show only untracked files?
The reason I'm asking is because I use the following command to process all deleted files:
git ls-files -d | xargs ...
Hydrolytic asked 27/9, 2010 at 5:30
5
Solved
Does it show files from the local repository, the staging repository, the remote repository or from somewhere else?
I'm constantly seeing a file that is present in git ls-files.
That file was delet...
Fluctuant asked 21/5, 2019 at 9:30
1
In my case, I did simple one liner change to one of my file and wanted to commit my changes but noticed that commit -am "" did not add/commited the file.
After issuing git ls-files --stag...
Uppsala asked 29/3, 2019 at 18:4
1
Solved
I try to find a way to determine whether the files in git repository are correctly managed by git-lfs.
So far, I have found that comparing results from git lfs ls-files and git ls-files ':(attr:fi...
Cysteine asked 21/2, 2019 at 10:5
0
I have a feeling my git cache is getting confused fairly often. I work on Mac and use both git at terminal and SourceTree.
I add or modify few files but I often notice that even files I have neve...
Madonna asked 2/1, 2019 at 6:11
2
A whole BUNCH of files got checked into our git repo before we introduced the .gitignore file. I'm currently trying to clean it up with:
git rm --cached `git ls-files -i --exclude-from=.gitignore...
Dunnage asked 10/2, 2016 at 21:24
1
Solved
In Git, a typical line of the result returned by command git ls-files -s looks like
100755 be2c2e9b0966253096472d4b482c458bc892e493 0 .gitignore
What do those fields mean?
Candidacandidacy asked 26/1, 2015 at 21:46
1
Solved
I want to access a bare git repository, and I want to list all files in the repository.
On a normal git repository I can easily do that by running git ls-files.
Example output:
$ git ls-files
R...
Mcclellan asked 18/9, 2014 at 6:58
1
© 2022 - 2024 — McMap. All rights reserved.