News for hackers. Stuff that matters.
Re:Guitar – Git GUI Client by jon889 on Wednesday April 22, 2020 @06:27AM (#22944096)
I really want a hybrid command line/gui git client. Either a GUI app with a terminal front and centre, or a command line tool that has some commands to use UI style things.

I hacked together a bash script that prints out all the branches and lets you click on it to switch to it and it's been pretty useful, just wish I could be bothered to make it properly with more features.

Re:Guitar – Git GUI Client by enturn on Wednesday April 22, 2020 @08:53AM (#22944976)
GitExtensions includes a terminal and shows the commands it runs and I recently discovered the GitGraph extension in VSCode which allows having a terminal open at the same time. There's more text focused ones like Magit or Tig, I haven't used them personally but from reading the manual of Magit it looks like it can [1] and Tig allows for setting up custom commands [2].

1. https://magit.vc/manual/magit/Running-Git-Manually.html

2. http://jonas.nitro.dk/tig/manual.html#external-commands

Re:Guitar – Git GUI Client by radarsat1 on Wednesday April 22, 2020 @08:42AM (#22944905)
Agreed I think some hybrid is the answer. As a CLI user I've tried to get used to git GUIs several times and keep going back to the command line because I always get the feeling like I am not 100% sure what it's doing or going to do. I also find it annoying to have to understand yet another set of primitives / keyboard shortcuts etc., when I've already got git's.

I would love GUI tools to complement the command line, instead of replacing it. Already I use the CLI 95% of the time, and launch gitk for that 5% when I really need to see the commit tree graphically. Usually before a merge is the only time I do this.

I wonder if that's a way forward.. a graphical equivalent of "tab completion" when you are trying to write out a command. Instead of a GUI that tries to make git "simpler" by hiding the command-line, how about something that takes the git command you are already trying to write, and helps you write it, e.g. by showing you results of a dry-run on the fly.

Re:Guitar – Git GUI Client by aarbor989 on Wednesday April 22, 2020 @12:36PM (#22947407)
Have you tried tig [1]?

[1] https://jonas.github.io/tig/

Re:Guitar – Git GUI Client by wjdp on Wednesday April 22, 2020 @07:05AM (#22944291)
Both of the GUI's I've used: Kraken and now Sublime Merge work very well in parallel with the CLI. I just have a terminal open next to the GUI and switch between them depending on what I'm doing.

Much rather not have a terminal in these apps. It'd probably not match 100% my normal terminal and would slow me down.

Re:Guitar – Git GUI Client by gregmac on Wednesday April 22, 2020 @03:45PM (#22949429)
What does it have to be integrated in one app? Every git client (of the ~dozen I've used) stays synchronized. I regularly use a git GUI, terminal, and a client integrated in my ide, and it doesn't really matter where I do an operation, they all update near-immediately to show the new state.