Timeline for Git - List all files currently under source control?
Current License: CC BY-SA 4.0
13 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 7, 2021 at 15:42 | comment | added | CervEd |
@ZainR more importantly, it gives you -z --eol and other nice options
|
|
Aug 9, 2019 at 19:33 | comment | added | Eduard |
Replace master with $(git branch | grep \* | cut -d ' ' -f2) for current branch.
|
|
Apr 15, 2019 at 13:09 | comment | added | slhck | @Adrian No idea, copypasted back then, fixed now. | |
Apr 15, 2019 at 13:09 | history | edited | slhck | CC BY-SA 4.0 |
added 4 characters in body
|
Apr 15, 2019 at 13:06 | comment | added | Adrian |
Why was cut given the ending - ? It causes some additional lines to show some files in a second column which are repeats from the first.
|
|
S Mar 27, 2019 at 9:52 | history | suggested | Zaccharie Ramzi | CC BY-SA 4.0 |
updated obsolete link to docs of git ls-tree and git log
|
Mar 27, 2019 at 8:51 | review | Suggested edits | |||
S Mar 27, 2019 at 9:52 | |||||
May 23, 2017 at 12:41 | history | edited | CommunityBot |
replaced http://stackoverflow.com/ with https://stackoverflow.com/
|
|
May 14, 2015 at 21:30 | comment | added | Zain R | Running "git ls-files" will save you a few characters :) | |
Feb 7, 2013 at 22:08 | history | edited | slhck | CC BY-SA 3.0 |
added 104 characters in body
|
Sep 13, 2012 at 10:15 | comment | added | maurits |
Thanks for the answer. I was looking for this. Note that git ls-tree -r master --name-only would do the same as the first option, without needing the cut . Ah, and you can specify HEAD instead of master if you just want this list for whatever branch you are currently on.
|
|
May 28, 2012 at 15:41 | vote | accept | Anonymous | ||
May 28, 2012 at 13:19 | history | answered | slhck | CC BY-SA 3.0 |