Live data from Hacker News

Git git git git git

caiustheory.com

201–210 of 244 posts

Re: Git git git git git

#201

>I quite often type git then go away and come back, then type a full git status after it. Does anyone else actually do this besides OP. I've never heard of this problem until now.

The author seems to have a lot of issues with spelling.

Everyone is different. I know an electrical engineer who grew up with dyslexia. So everyone finds their own solutions.

Personally I very rarely spell things wrong in cli.

Re: Git git git git git

#202
post #193
post #153

Earlier quoted context omitted.

Or alias to gp, gl, gd, ga, gmv, grm, gsh, glg, gcm, gcam, gpuo, gdwd, gpuom, ...

You're joking but... alias g='git status -sb' alias ga='git add' alias gac='git commit --amend' alias gb='git branch' alias gbb='git checkout -b' alias gbm='git branch --merged' alias gbn='git branch --no-merged' alias gc='git commit -m' alias gcp='git cherry-pick' alias gco='git checkout' alias gd='git diff' alias gdc='git diff --cached' alias gg='git status' alias gl='git log --graph --pretty=format:"%Cred%h%Creset…

Instead of `unfuckgitremote`, why not just use `git push -u`?

Re: Git git git git git

#204

Earlier quoted context omitted.

My favorite one of these is typing ctrl-w (cut in emacs) in a browser tab as I am editing a bunch of text in a text box.

I use vimperator, so the only program I use a lot which still doesn't recognize ctrl+w is Hexchat. My friends have gotten used to see me part the channel and rejoin shortly after, cursing my fingers.

HexChat parting on Ctrl+w is probably one of the main reasons that drove me to use a TUI IRC client like weechat.

Re: Git git git git git

#206

Why type out `git status`? I use `gst`, and lots of other great aliases provided by the [oh-my-zsh git plugin]( https://github.com/robbyrussell/oh-my-zsh/blob/master/plugin... )

For me, it's because `gst` will only work on my machine. I like feeling at home on any system, so I'm loathe to depend heavily on aliases and configuration. One of the things I like about git git is that it appears to improve my experience without significantly affecting my habits.

How often are you running those commands elsewhere?

Re: Git git git git git

#207
post #153
post #149

Earlier quoted context omitted.

I just alias 'pull' to git pull, it's much nicer. Also 'push' and a few of the other most common ones.

Or alias to gp, gl, gd, ga, gmv, grm, gsh, glg, gcm, gcam, gpuo, gdwd, gpuom, ...

The oh-my-zsh git plugin does that -

https://github.com/robbyrussell/oh-my-zsh/blob/master/plugin...

Re: Git git git git git

#208

Earlier quoted context omitted.

I do. And I also write "vim vim thefile.txt" and stuff like that. Finally I've written a small shell function that corrects "gi tpull" to "git pull", because that happens at least once a day.

If only there was a git shell...

There is, but it's just a restricted login shell. I see what you mean though

Re: Git git git git git

#209
post #34

>I quite often type git then go away and come back, then type a full git status after it. Does anyone else actually do this besides OP. I've never heard of this problem until now.

It's usually more "type git in a terminal then open a new tab to look something up and ALT-TAB back to the terminal" rather than a physical going away.

[deleted]
Post reply on HN