To show any unwanted files, use a command like
The reason I am asking because I use the following command to process all deleted files:
git ls-files -d | Xargs git rm
I would like something similar to the unmodified files:
some commands - some options | Xargs git add
I was able to find the -o
option in git ls-files
, but this is not me because it Also shows rare files because I was able to come up with the following long and ugly commands:
GIT status - Polosene | Grep '^ ??' | Cut-4- | Xargs git add
It seems that there should be a better command I can use here and if not, how do I create a custom GIT command?
To see the list of untracated files:
git ls- Files --others --exclude-standard
Good alias to add untracted files:
edited Do: For reference:
Comments
Post a Comment