|
If I already know Mercurial and Darcs, should I take the time to learn Git? The posts here make Git seem complicated, but I would learn it if it has significant advantages over those other two.
|
# ¿ Jul 15, 2013 00:40 |
|
|
# ¿ May 3, 2024 16:16 |
|
Thermopyle posted:If you need it then learn it. If you're curious then learn it. It has its pros and cons compared to other DVCS systems. Oh, I don't need to learn it. I didn't really need to learn Hg or Darcs either, but doing so has improved my workflow compared to SVN, etc. I just want to know what Git has that Hg/Darcs don't have, to make the effort to learn it worthwhile.
|
# ¿ Jul 15, 2013 03:22 |
|
I usually recommend merges instead of rebasing. That way, each commit is a record of the context in which it was written, and the merge commits themselves are a record of the conflict resolution steps - or a record affirming that there was no conflict. This may be because I started in Mercurial before Git.
|
# ¿ Oct 10, 2023 00:01 |
|
Learning Git isn't the easiest thing in the world, but there are two reasons you should: 1. It will pay dividends throughout your entire career of software development 2. You only have to learn it once. It's not like learning a programming language that gets new features every couple of years; learn Git once, know it forever. At least, that's been my experience.
|
# ¿ Oct 11, 2023 22:11 |
|
Vanadium posted:I bet that's what they told people about why to learn svn. Undeniably true! That said, if something replaces Git, I'll eat my words. (Happily, too - I don't think Git is the best VCS, though it is very good. I prefer Mercurial's branching and UI.)
|
# ¿ Oct 11, 2023 22:46 |
|
nielsm posted:Do anyone have a favorite tool to follow a git history along a specific branch, and easily view complete diffs for the changes? Preferably with a way to only view merge commits to the branch and commits directly on the branch. In general, the logging option you're looking for is --first-parent. https://stackoverflow.com/a/10248421 My favorite Git UI is Magit, which is an Emacs package. Using this, you can just hit l-l (lowercase L twice) and see the history of only the current branch, or l-o and type a branch name (with Tab to autocomplete) to see the history of a different branch. The --first-parent option is hidden by default, unfortunately, but you can set "transient" levels to reveal more advanced options like this one.
|
# ¿ Oct 24, 2023 16:42 |
|
|
# ¿ May 3, 2024 16:16 |
|
Has anyone here used Fossil? I'm liking what I read about it so far, and I might use it on some side projects to see how it goes. If anyone has any experience with it, or any major disadvantages to watch out for, I'm all ears!
|
# ¿ Mar 27, 2024 21:06 |