3 ms·
Good points, but I want to elaborate on this: "You can use “pull” to mean “fetch and merge”, but some authorities will advise you not to. You can also use “co
by kibwen 14y ago
Good points, but I want to elaborate on this:
"You can use “pull” to mean “fetch and merge”, but some authorities will advise you not to. You can also use “commit -a” to avoid the “add”, but you still have to be aware of it."
Whatever tutorial I originally used to learn Git made use of `git pull` and `git commit -a` exclusively, without any elaboration. It wasn't until long into my Git career that I was even aware of `git fetch` or `git add`. To this day I use `git add` only occasionally (but it's so useful when I do need to use it), and I honestly can't think of a case where I've needed `git fetch`.
I'm about to teach my co-workers to use Git for a project I'm spearheading, and I intend to expose them to this simplified view and let them fill in the blanks when needed.