CLI because linux
SVN?
CVS?
Visual Source Safe!
SCCS
Rite-Aid?
ClearCase?
removed by mod
Yup! Been using it for years, it looks nice, has a good UI and works well. I’ll use the CLI if I need to but 99% of the time Desktop is the better choice (for me).
I only use it to clone projects via the Open in GitHub desktop link.
sublime merge
Fork.
Fork is great!
TIL. Looking great but no Linux support 😐
All hail the fork!
Fork is great. I just wished there was a linux version
Vim Fugitive
Vscode plugins?
GitHub desktop Stan here. Been a software engineer for over a decade and still love my UI tools. GitHub desktop is good enough 99% of the time.
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.
JetBrains IDEs, I don’t remember the last time I used the CLI.
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
This is the way
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.
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.
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
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.
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.
you have forgotten the face of your father
Linus Torvalds?
CLI
Though I will admit it took me a while to get there
git add -i is where the true magic beginsTIL!
git log --graph --oneline --all
Also part of the Cli magic is a pretty git log tree like that:
https://stackoverflow.com/questions/1838873/visualizing-branch-topology-in-git/34467298#34467298And a proper diff tool like vim:
git config --global diff.tool vimdiff git config --global difftool.prompt false
(Current diff could be closed with :qa. All diffs could be closed with :cq).
using LazyGit in tmux has changed my workflow.
instead of:
git add . git commit -m 'foo' fg
i just:
g ac foo q
and it displays everything neatly
Edit: apparently greater/less than symbols dont render properly on lemmy. so imagine a few
(CR)
's and(C-b)
's sprinkled inAre you able to fall back to normal git commands if you don’t know the shortcuts? This sounds awesome until I can’t remember the syntax to do something I don’t do everyday.
you can run shell commands with
:
, and there may be a nicer way for git-specific commands which i dont know about.each ‘pane’ (such as ‘changed/staged files’, ‘commit log’, etc) has its own keybinds, which you can see with
?
I’d use Desktop if it worked, unfortunately recently it decided that I don’t have read/write access to a repo I’m working on. Works fine in git CLI so idk what the problem there is.
I really like Sourcetree, been using that for a long time.
Same here. Use it regularly at work. For personal projects, I tend to just use the IDE.
Source tree has always been horribly optimized to point of uselessness. Wonder if it’s still shit
What do you mean by this? It works fine for me so far, though I’m not a heavy user.