|
|
|
|
|
by MayeulC
2516 days ago
|
|
The mnemonic is to do it like "a dog" [1], though I think some of these flags are now default. The one option I really like is --first-parent. If you did merge commits for every new feature, and gave sensible names to those commits (instead of "Merge A into master", use "Merge awesome feature"), it really simplifies the git history and makes it easy to grasp the dev history. Now, on command-line vs GUI, I think the contrary is actually true: once you know your way around some piece of software, small operations are easier using CLI. However, I really appreciate GUIs to set-up the most complex ones, or the fairly complex, but rarely used ones. And of course, GUIs tend to help you discover stuff while you're still learning the software, though git CLI does that pretty well too. [1]: https://stackoverflow.com/questions/1057564/pretty-git-branc... |
|