For the first time I had to commit something in SVN from the command line and I realized that I actually don't know, what would get committed. So far I've been using TortoiseSVN so that was easy. And by "will get committed" I mean when I use svn commit
without specifying files explicitly.
My first guess was svn status
but this shows me a lot of files, including ignored ones and others so not all of them will be committed.
Then there's svn diff
which probably does what I need but is way too verbose.
So I guess what I'm looking for is svn status -q
?
svn status -q
list ALL and ONLY files which will get committed?svn diff
list exactly the same files, just with all the changes in them?Well svn status -q
prints only essential information while performing an operation. That is, if there are new files in your project that you didn't yet add to the svn repo, svn status -q
will not print those files and you
can end up by forgetting to do svn add
on those files.
svn diff
will display local modification in a working copy.
Regarding This, the answer to both of your questions are yes and yes
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With