4 ms·
I haven't used Gitless before but usually these types of abstractions fall short for me. It never helped me as much as truly learning git. I learned so much ab
by taink 3y ago
I haven't used Gitless before but usually these types of abstractions fall short for me. It never helped me as much as truly learning git.
I learned so much about the commands that intimidated me by playing "Oh My Git!"[1]. It's an open source game that presents commands as quick-to-understand concepts and lets you experiment with them by using playing cards on the visual rendition of a repository. I was honestly surprised nobody else mentioned it here, maybe it's not that well known.
Of course it's not completely accurate all the time in its descriptions but it sure helps understanding the underlying workings a bit more, and it pushed me into actually reading the manual.
[1] https://ohmygit.org/ https://ohmygit.org/
- perdomon 3y agoThis sounds like a great tool, but I'm not sure anything could push me to read the Git documentation. It's written by someone too brilliant for me. I prefer to find a Stack Overflow answer where someone has dumbed it down a bit.
- dreamcompiler 3y agoThe Git docs are horrible, but that's not because the author is smarter than you. It's because the author is a lousy communicator.
- Aeolun 3y agoI mean, I’m a lousy communicator, I can’t exactly blame them. But I still don’t want to read their documentation.
- Antipode 3y agoI'm curious as to why the windows version is 8x the file size of the mac/ linux ones
- Hamuko 3y agoMaybe it contains a segment about installing git on Windows.
- lost_tourist 3y agoIt's likely that they need to include the full std library in the windows version (build with something other than microsoft's c++ compiler, like msys g++ or similar)
- giraj 3y agoOh My Git! looks really cool and useful, thanks for mentioning it! I find it incredible that it's funded by the Prototype Fund (https://prototypefund.de/project/oh-my-git/ https://prototypefund.de/project/oh-my-git/), and it makes me wonder which other countries have similar funds hackers can apply to.
- tylerhou 3y agoI have "truly learned git" (including having written a clone for a school project) and still hate the CLI and conventional Git workflow. Why is checkout overloaded to mean "restore a file from the index" or "move to a different branch" or "move to a different commit?" Why can reset mean both "un-add a file" or "delete a commit?" I am very happy that there are better frontends for git like Gitless or Facebook's Sapling. I also think their commands are more of a 1:1 mapping to "raw" git operations behind the scenes.
- charrondev 3y agoTo be fair even if those commands are still overloaded there are new commands that aren’t overloaded. (git restore for example now has its own command).
- Viliam1234 3y ago"git checkout" is a deprecated command, use "git switch" to switch to a commit, and "git restore" to restore a file
- voidfunc 3y agoTell that to Google and all the top results for switching to a commit which everyone usually phrases as "git howto checkout commit"
- chipotle_coyote 3y agoAs of the current git release (v2.41.0), there is nothing in the documentation for "checkout" indicating it is deprecated, while the documentation for "switch" contains the phrase -- in all caps, like this -- "THIS COMMAND IS EXPERIMENTAL. THE BEHAVIOR MAY CHANGE." One presumes checkout will eventually be deprecated by switch, but it isn't yet.
- DanielVZ 3y agoI guess that warning is to prevent people from using it on a script because it’s not a stable command. But for normal shell usage, it’s the preferred method.
- TechBro8615 3y agoAnother fun learning resource: https://learngitbranching.js.org/ https://learngitbranching.js.org/