Joined May 2011
·

Kent Fredric

New Zealand
·
·
·

Posted to Please, oh please, use git fetch over 1 year ago

"There is nothing wrong with git pull, as long as you know, what you are doing (ask your coworker ;))."

But it is for that reason I can't recommend 'pull' to novices, it makes them do the wrong thing, and impedes them from understanding the git 'model'.

It is initially more convenient. But convenience at the price of doing the wrong thing is a steep penalty.

Those using xargs, I suggest you read man xargs and look at the -P parameter:

-P max-procs

Run up to max-procs processes at a time; the default is 1. If max-procs is 0, xargs will run
as many processes as possible at a time. Use the -n option with -P; otherwise chances are
that only one exec will be done.

This is cool, because that means you can spawn >1 instance of rm to do your calls, which should give a minor improvement if you manage to get the kernel batching the underlying rm calls.

Achievements
109 Karma
0 Total ProTip Views