>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.
Git git git git git
171–180 of 244 posts
Re: Git git git git git
#172Earlier quoted context omitted.
Try The Fuck: https://github.com/nvbn/thefuck/blob/master/README.md
I have The Fuck because I think the premise is hilarious, though I don't use it as much as I'd like since it's kind of slow for me...
Re: Git git git git git
#173Re: Git git git git git
#174Earlier 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.
Re: Git git git git git
#175As I was reading the article, I heard "git git git git" in the glitch audio form in my head... anyone?
Re: Git git git git git
#176I also find "thefuck" is interesting but I love to control my fate :) (https://github.com/nvbn/thefuck)
Re: Git git git git git
#177> git config --global alias.git '!exec git' Is the exec really required? git config --global alias.git '!git' Will also work. Am I missing something? EDIT: From git doc, "If the alias expansion is prefixed with an exclamation point, it will be treated as a shell command" So exec is not required then.
Also, I found one caveat from the same docs:
> Note that shell commands will be executed from the top-level directory of a repository, which may not necessarily be the current directory. GIT_PREFIX is set as returned by running git rev-parse --show-prefix from the original current directory.
So, if I have a modified file `bar` in subdirectory `foo` under project root, and I am currently in `foo`, git status will show:
modified: bar
but git git status will show: modified: foo/bar
To fix this, we should use cd first: git config --global alias.git '!cd "$GIT_PREFIX" && git'Re: Git git git git git
#178Earlier quoted context omitted.
I always typed rebnoot, so I patched Netbsd to allow rebnoot. Then I patched it still so it would say, "Rebnooting". Fun times.
Relatable. For years, I aliased mroe to more. Now I alias mroe and more to less. 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
#179Earlier quoted context omitted.
Relatable. For years, I aliased mroe to more. Now I alias mroe and more to less. My wife drafts a lot of legal documents, and has a problem with "doe snot". Which unfortunately the spelling checker is perfectly happy with.
There's defintitely room for an advanced spell checker that can say "This is valid, but probably wrong".