Git git git git git
131–140 of 244 posts
Re: Git git git git git
#132>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.
I totally do this. I also occasionally will have something breaking and soon realize I typed 'git' randomly in the middle of a file instead of in my terminal...
Re: Git git git git git
#133Re: Git git git git git
#134>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.
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.
Re: Git git git git git
#135Earlier 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.
I always typed rebnoot, so I patched Netbsd to allow rebnoot. Then I patched it still so it would say, "Rebnooting". Fun times.
My wife drafts a lot of legal documents, and has a problem with "doe snot". Which unfortunately the spelling checker is perfectly happy with.
Re: Git git git git git
#136Re: Git git git git git
#137Quite often, I accidentally press the space bar eagerly when typing git commands: $ gi tstatus To fix this, I've added the following to my .bashrc: gi() { args=("$@") args[0]=${args[0]/t/} git "${args[@]}" } It also works if you drop the "t" altogether.
gi() { ARG=$(echo $1 | sed s/^t//); shift; git "$ARG" "$@"; }
Re: Git git git git git
#138Earlier quoted context omitted.
Not this, but I do fairly often think assume I'm in vim when I'm not. `alias :q="echo NOT IN VIM!!!"`
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.
Re: Git git git git git
#139 decorator = decorator(decorator)(decorator)
https://github.com/darius/sketchbook/blob/master/misc/decora...There was a subtle bug when leaving out the last (decorator). I know, it's very silly.
Re: Git git git git git
#140 alias gits='git status'