On 30 August 2017 at 18:50, Ken Cunningham wrote: > > Is there a way to make git ignore the *.o and *.a and other generated files > that might be in the source tree that we're not interested in tracking -- or > does the -A do that automatically?
No, "git add -A" adds literally everything (other than the ignored files) which is why you would probably want to run it before the configure and build phase. What I also do quite often is to run just "git add file-I-am-working-with.c" instead of "git add -A" before editing one particular file. Alternatively you could do "git diff file1.c file2.c" at the end to show just the changes you are interested in (if you ended up with too many files accidentally). Mojca
