Is there a handy way to ignore all untracked files and folders in a git repository?
(I know about the .gitignore.)
So git status would
Two ways:
use the argument -uno to git-status. Here's an example:
[jenny@jenny_vmware:ft]$ git status
# On branch ft
# Untracked files:
# (use "git add ..." to include in what will be committed)
#
# foo
nothing added to commit but untracked files present (use "git add" to track)
[jenny@jenny_vmware:ft]$ git status -uno
# On branch ft
nothing to commit (working directory clean)
Or you can add the files and directories to .gitignore, in which case they will never show up.