Live data from Hacker News

Lazygit: A simple terminal UI for Git commands

github.com

11–20 of 143 posts

Re: Lazygit: A simple terminal UI for Git commands

#12
If there is one thing that terrifies me it's using Git, or any source control, from the command line. No matter how long I've been in this industry, I just can't get cozy with doing a lot of heavy lifting in any shell environment. Give me the GUI all day every day.

Re: Lazygit: A simple terminal UI for Git commands

#13

I maintain a bunch of git aliases in my .gitconfig for my company's rebase based workflow. They cover 90% of my 'dumb' git usages synced = pull origin master --rebase. # Update myself with master squash = rebase -i origin/master # Let me optionally squash whatever has happened since master publish = push origin HEAD --force-with-lease # Save to orig in (github) pub = push origin HEAD --force-with-lease # Save to orig…

I use Oh My ZSH git aliases. Examples:

gcmsg "git commit -m" - Git commit message

gco "git checkout" - Change branch

gd "git diff" - Files differences in staging

gl "git pull" - Pull from remote

gp "git push" - Push to remote

--- Tool looks interesting!

Re: Lazygit: A simple terminal UI for Git commands

#16

If there is one thing that terrifies me it's using Git, or any source control, from the command line. No matter how long I've been in this industry, I just can't get cozy with doing a lot of heavy lifting in any shell environment. Give me the GUI all day every day.

Exactly the opposite for me. I absolutely do not trust GUIs to do the right thing. I don't trust text area to use correct line endings consistently across platforms, I don't trust them to be up to date with new options for `commit` or `checkout`, they never show examples what result will be (--dry-run). None GUI is ever up to date with documentation and contains all functionality which I can autocomplete with [tab][tab] in zsh.

Does any GUI offer `-p` in `git commit` and `git stash`? I literally use it 10s times per day, can't live without it once I started using it.

Re: Lazygit: A simple terminal UI for Git commands

#17

If there is one thing that terrifies me it's using Git, or any source control, from the command line. No matter how long I've been in this industry, I just can't get cozy with doing a lot of heavy lifting in any shell environment. Give me the GUI all day every day.

That's funny, I'm the exact opposite. An old gray beard pair programmed with me at my first development job. He taught me Vim and Git CLI. I've never been able to get used to any UI over Git. I am way faster and more proficient with the CLI.

Re: Lazygit: A simple terminal UI for Git commands

#19

I maintain a bunch of git aliases in my .gitconfig for my company's rebase based workflow. They cover 90% of my 'dumb' git usages synced = pull origin master --rebase. # Update myself with master squash = rebase -i origin/master # Let me optionally squash whatever has happened since master publish = push origin HEAD --force-with-lease # Save to orig in (github) pub = push origin HEAD --force-with-lease # Save to orig…

If you use zsh and ohmyzsh you have these commands available in `git` plugin with full docs here https://github.com/ohmyzsh/ohmyzsh/blob/master/plugins/git/R...

A must read for every cli git user.

Re: Lazygit: A simple terminal UI for Git commands

#20
post #13

I maintain a bunch of git aliases in my .gitconfig for my company's rebase based workflow. They cover 90% of my 'dumb' git usages synced = pull origin master --rebase. # Update myself with master squash = rebase -i origin/master # Let me optionally squash whatever has happened since master publish = push origin HEAD --force-with-lease # Save to orig in (github) pub = push origin HEAD --force-with-lease # Save to orig…

I use Oh My ZSH git aliases. Examples: gcmsg "git commit -m" - Git commit message gco "git checkout" - Change branch gd "git diff" - Files differences in staging gl "git pull" - Pull from remote gp "git push" - Push to remote --- Tool looks interesting!

ohmyzsh has git plugin and a few other git-related plugins with these aliases already available https://github.com/ohmyzsh/ohmyzsh/blob/master/plugins/git/R...
Post reply on HN