Thread (3 messages) flat view 3 messages, 3 authors, 2016-08-11

Re: On removing files and "git-rm is pointless"

From: Sam Vilain <hidden>
Date: 2016-08-11 20:15:37

Horst H. von Brand wrote:
quoted
 - without "-r", don't do the partial matches at the beginning (but still 
   do globbing matches, of course, so "git rm dir/*" wouldn't need an 
   "-r", but "git rm -r dir/", which does the same thing, _would_ need an 
   "-r" to be effective)
The command should never even see the '*' here. Globbing is handled
(uniformly) by the shell. Don't loose that.
But;

  git-rm \*>/dev/null; git-add \*

is just so darned handy!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help