this is a better one: https://medium.com/@lordmoma/so-you-think-you-know-git-673f9...
This is the message I see.
> The author made this story available to Medium members only.
> If you’re new to Medium, create a new account to read this story on us.
91–100 of 146 posts
this is a better one: https://medium.com/@lordmoma/so-you-think-you-know-git-673f9...
This is the message I see.
> The author made this story available to Medium members only.
> If you’re new to Medium, create a new account to read this story on us.
I always find it interesting how knowledge makes it hard to comprehend the difficulties other people have. I used to barely understand git, but after a couple of years working at a company that relies on a rebase workflow, I'd like to think I largely understand how it works. Its nice to recognise pretty much every operation on this cheatsheet. Is it common that developers still have issues with git after using it pro…
is also super powerful to put a series of commits on top of a new parent when history has changed.
That happens with PRs and squash merges quite often.
Are there git alternatives that aren't a PITA to master before one can use them in production?
Is there a historical reason why git is needlessly complex? Seeing this cheat sheet really brings it to life.
It's not needlessly complex. The workflow it was created to support is inordinately complex, and the target market for that is highly technical, so its complexity was not the issue. Kernel developers needed to communicate to other kernel developers in a decentralized manner, and needed to work on top of each other. How do you work on a project where there are 15,000 people writing code? Git was created for this purpo…
Is there a historical reason why git is needlessly complex? Seeing this cheat sheet really brings it to life.
Earlier quoted context omitted.
100% agree. The fact there are 5 different ways to do the same thing is BAD, not good. Have one well defined, documented clear way to solve a problem.
There are 3 different ways I could get to the store, I could walk or drive or bicycle. There are also 3 different paths I can take. I could go down road A, sidestreet B, or alleyway C. I know you'd rather one big button to press that just says "do it" on it, but in order to perform complex actions on complex objects, there are going to be multiple ways to accomplish the same thing.
I always find it interesting how knowledge makes it hard to comprehend the difficulties other people have. I used to barely understand git, but after a couple of years working at a company that relies on a rebase workflow, I'd like to think I largely understand how it works. Its nice to recognise pretty much every operation on this cheatsheet. Is it common that developers still have issues with git after using it pro…
I understand the commonly used core concepts of git pretty well, and using that knowledge, I can do exactly what I want using Git GUIs (IntelliJ these days). With CLI I can do pulls and commits at most.
Squashing, dropping commits, rebasing. Even interactive rebase can be done in a few clicks.
I sometimes pop up IDEA to do some non-trivial cleanup in a repo. Even if relatively fluent with the command line, it saves me a lot of time.
Is there a historical reason why git is needlessly complex? Seeing this cheat sheet really brings it to life.
Yes. Because git was created by Linus Torvalds specifically to enable and advance Linux kernel development. The fact it has become so widly adopted is a "happy accident" (or misery). Github I think has been widely credited with making git so common place ("free git hosting") but I don't think git is the "ideal" revision control system for many projects. Because it was made for Linus for Linus/Linux, this is why the t…
I liked the way I learned git. I started with sourcetree, a third party git gui. Super simple to use and understand. Then I moved to git gui, this step could be skipped. Then I got tired of pulling up my UIs and learned the terminal commands. Highly suggest this for anyone new, but just my (n=1) experience.
I have only praise for Sublime Merge.