5 ms·
Every day: $ git pish $ fuck
by m4tthumphrey 10y ago
Every day:
$ git pish
$ fuck
- bcherny 10y agoFor me it tends to be $ git poop
- zacharyvoase 10y agoas opposed to `git log`?
- bcherny 10y agoIn case that wasn't a joke - no, `git pop`.
- anodin3 10y agoFor me it usually is "git remove" instead of "git remote".
- savanaly 10y agoFor those who don't know, you can make git pish have the same effect as git push by creating an alias between pish and push. Useful to do for any misspellings you make more than once. $ git config --global alias.pish push
- headmelted 10y agoCannot for the life of me tell if this is a serious suggestion.
- jdc0589 10y agothere are a couple things I typo frequently enough I've seriously considered it...
- savanaly 10y agoIt is-- what is the perceived downside?
- brianwawok 10y agoYou have a giant list of common typos, making you a worse and worse typer as years go on, until you are mashing your head on the keyboard to type anything.
- savanaly 10y agoI dunno, I don't think that would really happen. I'm always trying to type the same word (I don't say "pish" in my head, after all, I think "push"), so it doesn't seem to be a random walk away from correctness, just some wavering around it. And it's not like I have that many commands I need to type commonly enough to make an alias for-- maybe a couple dozen? And for most of them, I don't make typos so I don't feel the need to make an alias.
- oxguy3 10y agoI've actually done this for a couple commands I screw up often enough -- I have this in my bashrc: alias dumbtypo="echo 'LEARN TO TYPE, MORON'" alias sl="dumbtypo; ls" alias rbuy="dumbtypo; ruby" alias pytohn="dumbtypo; python" alias brwe="dumbtypo; brew" alias arhcey="dumbtypo; archey"
- giancarlostoro 10y agoif you sudo apt install sl you will have more fun making that typo ;)
- mod 10y agoI'm incredulous that 'pythong' is not in there. I can't not-type it.
- calibration263 10y agoI was worried I was the only one!
- taude 10y agoI type pythong all the time, too.
- Sunset 10y agoYou ... type "python"? Not pyt[tab]?
- artursapek 10y agoalias gp="git push" has probably saved me hours of my life
- jdc0589 10y agolooks like oh-my-zsh ships with this... couldn't figure out why I had it already.
- deleted 10y ago[deleted]
- madmax108 10y agoAmen. My bashrc has so many of these, and they're probably among the most common commands I use daily!: alias gs="git status" alias gb="git branch" alias grh="git reset --hard" alias gcdf="git clean -df" alias gf="git fetch" alias gp="git pull" alias gdom="git diff origin/master" alias gdomn="git diff --name-status origin/master" alias gd="git diff" alias gl="git log" alias glm="git log --author <my_name>" alias gc="git checkout" alias gcm="git checkout master"
- amelius 10y agoOr how about git commit with a dummy message? :)
- eric_h 10y agoOh dear. That reminds me of a story I saw here on HN at some point (might have been in the comments) about a dev team that didn't insist on any commit messages in their VCS, so everyone just put in a '.' to meet the requirement that a commit had to have a message for whatever source control system they were using. My team doesn't have a strict commit message style guide, but good god it better be at least mildly descriptive of what's in the commit. (I know you're joking, the thought of a 3 character alias to commit with a dummy message just sent shivers down my spine :)
- jurie 10y ago
- mikeleung 10y agoi constantly do: git pull upsteam dev
- Lukas_Skywalker 10y agoGit even has a wonderful autocorrect feature that you can enable with "git config --global help.autocorrect 1" This fixes commands like git pish or git ermote