GNU/Linux Desktop Survival Guide
by Graham Williams |
|||||
Git Commands to Avoid |
$ git pull |
This performs a fetch and merge. This risks getting stuck with the merge popping up an editor inside emacs. There are fixes for that but a fetch and then a rebase is a more comfortable work flow.
$ git merge origin/main |
This merges any repository updates after a fetch into the local copy of main.