limit git add . -A -n to present directory (no subdirectories) -
how limit output of:
git add . -a -n
to present directory only? e.g. like:
git add . -a -n --depth=0
i @ base directory of project , want see files changed @ level only. using grep -v
part of post-processing output not practical due git add . -a -n
taking long when has scan sub-directories well.
ls -p|grep -v / |xargs git add -an
Comments
Post a Comment