If you want to list all the files currently being tracked under the branch master , you could use this command: git ls-tree -r master --name-only.
To list all the files currently being tracked under the branch master using: git ls- tree -r master --name-only. This command will list the files that ...
git add -A -n will do what you want. -A adds all untracked files to the repo, -n makes it a dry-run where the add isn't performed but the status ...
Show other (i.e. untracked) files in the output
Based on the question linked by Kristjan but with extra arguments to match output of ls-files : git ls-tree --full-tree -r --name-only HEAD.
Show the branch and tracking info even in short-format.
If you want to list all files for a specific branch, e.g. master : git ls-tree -r master -- name-only. The -r option will let it recurse into subdirectories and print each file ...
However, you can display a list of all patterns that are currently tracked by Git LFS (and the .gitattributes files ...
git stash list [
Backup untracked files. List all git aliases; Show git status short; Checkout a commit prior to a day ago; Push a new local branch to remote repository and track ...