For something with such an horrible interface, it’s amazing how often people that create a new interface for it manage to make it worse.
Vim Fugitive
Fork is much better than GitHub Desktop, you can use it without paying indefinitely
Well one runs on Linux and the other doesn’t so…
They both do
Oh really? Well, I stand corrected then, nevermind
SVN?
CVS?
Rite-Aid?
ClearCase?
SCCS
Visual Source Safe!
Git cli powerfull af only us git cli. Well and gitk
I don’t understand git anyway
Well, you learn four commands and hope for the best.
fetch, reset --hard, checkout -b and cherry-pick?
:-D
Nah,
rebase -i
,squash
,fsck
andreflog
Must be an interesting work if you never
add
,commit
orpush
.Edit: How the hell did you get the repo without
clone
?Pshaw, real programmers write out the contents of
.git
by hand.(Also, it was a joke, the last two commands I listed are ones you’ll ideally never need in your life)
reflog saved my life once after a stupid misshap.
All rebase are belong to us (onto, rebase, and ofc interactive) but what’s fsck (I don’t squash personally)?
Fsck is File System Check - realistically you should never need to use it.
More like clone, pull, commit, and push --force
>:-D
push origin head
^^
Title text: If that doesn’t fix it, git.txt contains the phone number of a friend of mine who understands git. Just wait through a few minutes of ‘It’s really pretty simple, just think of branches as…’ and eventually you’ll learn the commands that will fix everything.
-
git pull
-
git add *
-
git commit -m “Some stuff”
-
git push
And occasionally when you mess up
-
git reflog
-
git reset HEAD@{n} (where n is where you wanna roll back to)
And occasionally if you mess up so hard you give up
- git reset --hard origin/main
And there you go. You are now a master at using git. Try not to mess up.
-
Sublime-Merge
I love Sublime Merge. Worth every penny.
Vscode plugins?
JetBrains IDEs, I don’t remember the last time I used the CLI.
Good luck doing anything remotely complicated/useful in git with an IDE. You get a small fraction of what git can do with a tool that allows absolutely 0 scripting and automation.
IDE git is less powerful than CLI git. However I’m pretty confident that most people use more features of git by using a GUI.
CLI feature discoverability is pretty awful, you have to go out of your way and type
git help
to learn new commands.With a GUI though, all the buttons are there, you just have to click a new button that you’ve been seeing for a while and the GUI will guide you how to use it.
It sounds like you don’t speak from experience. I have all the automation I need. It supports git hooks on top of IDE-only features like code checking.
If I have to fire up my CLI for some mass history rewriting (like changing an author for every commit), or when the repo breaks - so be it. But by not using the CLI I save my fingers and sanity, because committing a bunch of files is several click away with little to no room for error.
I can rebase, patch, drop, rename, merge, revert, cherry pick, and solve conflicts with a click of a button rather than remembering all the commands and whatnot.
There are automations. You can even add git hooks iirc. Mostly I find the lint and other code quality integrations nice to have in the IDE, since the inline results allow me to navigate directly to the code
Diffing is a lot easier too
I use the cli, but my main goal is to never have to do anything remotely complicated with git. Does it happen sometimes? Of course.
This is the way
I was looking for this comment. PHP storm and git are like best friends. I very very rarely need to resort to the CLI and generally that’s for hard resetting after I screw something up
you have forgotten the face of your father
Linus Torvalds?
Magit
deleted by creator
I was looking for someone to mention Magit. It just rocks!
This + org-mode are enough for me to switch to Emacs.
Fork.
Fork is great. I just wished there was a linux version
Fork is great!
TIL. Looking great but no Linux support 😐
All hail the fork!
tig
gitui
GitLens?
GitHub Desktop is literally “Baby’s first git GUI”.