[{"data":1,"prerenderedAt":253},["ShallowReactive",2],{"project-11928270":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":9,"maker":10,"posted_at":11,"year":12,"points":13,"comments":14,"rank_in_year":15,"shown_in_year":16,"top":17,"tier":18,"category":19,"subcategory":20,"format":21,"keywords":22,"reception":26,"sentiment":27,"stance_mix":28,"scored_comments":33,"aspects":34,"strip":37,"post_text":39,"what":40,"said":63,"maker_in_thread":143,"shape":149,"grid":153,"attempts":214,"same_week":215,"maker_shows":212,"maker_hidden":244,"reader_version":245,"card":246},"11928270","GitAlias","Git alias commands and shortcuts","title","Show HN: Git alias commands and shortcuts",null,"jph",1466253271,2016,37,25,892,2264,40,"shown","dev_tools","git aliases","other",[20,23,24,25],"git shortcuts","git config","shell aliases","roasted",-0.238,{"positive":29,"neutral":30,"mixed":31,"critical":32},1,3,0,4,8,{"idea":35,"docs":36},{"positive":29,"critical":30},{"positive":31,"critical":29},[31,29,31,31,31,30,31,31,31,31,31,31,31,31,30,38,31,29,31,29,31,31,30,31,29],5,"https:\u002F\u002Fgithub.com\u002FGitAlias\u002Fgitalias\n\nDo you use git? I have a big list of alias commands and shortcuts that I'm sharing on GitHub.\n\nI'm seeking suggestions and feedback now, and also seeking pull requests to improve the code.",{"problem":41,"audience":53,"pricing":9,"motivation":9,"time_to_build":9,"stack":59,"openness":60,"stage":61,"team_size":62},{"value":42,"source":43,"evidence":44},"Typing long git commands repeatedly","inferred",[45,49],{"id":46,"by":47,"text":48},"11928924","alekratz","I do something similar to this, except I just use my shell's alias do to this. e.g., alias gits=\"git status\". If you're like me and have a weird habit of just typing stuff into…",{"id":50,"by":51,"text":52},"11929185","kristjan","But you're still typing `git` every time! ``` alias g=git ``` I've got my Git configs up at https:\u002F\u002Fgithub.com\u002Fkristjan\u002F.dotfiles\u002Fblob\u002Fmaster\u002F.gitconfig if you'd like to sift…",{"value":54,"source":55,"evidence":56},"Developers who use git","maker",[57],{"id":58},"post",[],"open_source","beta","unknown",{"praise":64,"objections":77,"requests":96,"questions":119,"alternatives":124},[65],{"value":66,"source":67,"evidence":68},"Useful aliases collection","commenter",[69,73],{"id":70,"by":71,"text":72},"11929942","felipesabino","Hey, nice usage of \"$(git branch-name)\" in the commands, I haven't thought about that I have been keeping my gitconfig public [1] it's been a while and I will definitely use this…",{"id":74,"by":75,"text":76},"11930699","wuthefwasthat","aliases for opening files, which i find quite useful ``` # open file by name op = \"!f() { $(git editor) $(git ls-files | grep -i \\\"$@\\\"); }; f\" # open currently edited (unstaged)…",[78,89],{"value":79,"source":67,"evidence":80},"Duplicates existing alias lists like oh-my-zsh git plugin",[81,85],{"id":82,"by":83,"text":84},"11929170","petetnt","If you are a oh-my-zsh user, the Git plugin has tons of aliases ready to use: https:\u002F\u002Fgithub.com\u002Frobbyrussell\u002Foh-my-zsh\u002Fwiki\u002FPlugin:git",{"id":86,"by":87,"text":88},"11929726","neogenix","I'm using this too, not sure why you would make another list.",{"value":90,"source":67,"evidence":91},"Marginal value; mapping choices like p to pull are personal preference",[92],{"id":93,"by":94,"text":95},"11928964","embiggen","How can you justify mapping 'p' to 'pull' rather than 'push'? I applaud the effort and think it's unfortunate the value add seems so marginal here. This type of thing boils down…",[97,112],{"value":98,"source":67,"evidence":99},"Add links to existing alias collections to the README",[100,103,106,109],{"id":101,"by":10,"text":102},"11931020","Thanks! I'll add this to the README now.",{"id":104,"by":10,"text":105},"11931026","Thank you! I'm adding your link to the README now.",{"id":107,"by":10,"text":108},"11931086","Thanks, I'm adding Magit to the README now.",{"id":110,"by":10,"text":111},"11937227","Cool, thanks, I'm adding that to the README now.",{"value":113,"source":67,"evidence":114},"Link directly to the GitHub repo",[115],{"id":116,"by":117,"text":118},"11929949","BlakePetersen","DUDE! Just link the github URL directly next time -- not only should this sort of discussion be done and persist on GH, not a random HN comment thread, but, for whatever reason,…",[120],{"value":121,"source":67,"evidence":122},"Why map p to pull rather than push",[123],{"id":93,"by":94,"text":95},[125,129,136],{"value":126,"source":67,"evidence":127},"oh-my-zsh git plugin",[128],{"id":82,"by":83,"text":84},{"value":130,"source":67,"evidence":131},"SCM Breeze",[132],{"id":133,"by":134,"text":135},"11931061","michaelmior","I'm personally a big fan of SCM Breeze[0] [0] https:\u002F\u002Fgithub.com\u002Fndbroadbent\u002Fscm_breeze",{"value":137,"source":67,"evidence":138},"Magit",[139],{"id":140,"by":141,"text":142},"11929763","sdegutis","Related: if you use Emacs, look into Magit, it's amazing. https:\u002F\u002Fmagit.vc\u002F",{"comments":144,"answered":29,"key":145},6,[146,147,148],{"id":101,"text":102},{"id":107,"text":108},{"id":104,"text":105},{"commenters":150,"max_depth":30,"maker_replies":144,"first_comment_mins":151,"lifespan_hours":152},19,48,69,[154,156,158,160,161,164,169,171,174,176,179,180,181,182,186,189,192,193,194,197,199,200,205,209,211],[82,31,31,155,83,31],"other\u002Fneutral\u002Fnone",[86,31,29,157,87,31],"project\u002Fcritical\u002Fidea",[101,31,31,159,10,29],"maker\u002Fneutral\u002Fnone",[46,29,31,155,47,31],[162,29,31,155,163,31],"11929069","unhammer",[165,166,30,167,168,31],"11928494",2,"project\u002Fneutral\u002Fnone","brudgers",[50,30,31,170,51,31],"commenter\u002Fneutral\u002Fnone",[172,30,31,170,173,31],"11929200","mathgeek",[175,30,31,170,51,31],"11929231",[177,30,31,170,178,31],"11929661","joshmanders",[140,32,31,155,141,31],[107,32,31,159,10,29],[74,38,31,155,75,31],[183,38,31,184,185,31],"11931182","commenter\u002Fneutral\u002Fdocs","brbsix",[187,144,30,167,188,31],"11929619","w4rh4wk5",[70,190,38,191,71,31],7,"project\u002Fpositive\u002Fidea",[104,190,31,159,10,29],[93,33,29,157,94,31],[195,33,31,196,10,29],"11931066","project\u002Fneutral\u002Fidea",[133,198,29,157,134,31],9,[110,198,31,159,10,29],[201,202,31,203,204,31],"11944528",10,"other\u002Fneutral\u002Fidea","seletskiy",[206,207,30,196,208,31],"11930122",11,"marcuskaz",[210,207,31,159,10,29],"11935134",[116,212,29,213,117,31],12,"maker\u002Fcritical\u002Fdocs",[],[216,221,226,231,235,240],{"id":217,"name":218,"points":219,"category":220},"11950664","u2f-zero",267,"security_privacy",{"id":222,"name":223,"points":224,"category":225},"11938405","fortran-machine",227,"languages",{"id":227,"name":228,"points":229,"category":230},"11918459","Trigger",164,"finance_crypto",{"id":232,"name":233,"points":234,"category":225},"11948955","huo",109,{"id":236,"name":237,"points":238,"category":239},"11947044","80,000 Hours career guide",93,"productivity",{"id":241,"name":242,"points":243,"category":225},"11940173","ViziCities 0.3",89,false,"v2",{"id":247,"name":5,"line":6,"ai":244,"cat":19,"year":12,"points":13,"comments":14,"rec":26,"s":248,"top":17,"kw":249,"maker":10,"domain":250,"tier":18,"attempts":31,"strip":251,"url":-1,"mix":252,"praise":66,"objection":79,"sub":20},11928270,-0.24,[20,23,24,25],"","0100030000000035010100301",[29,30,31,32],1794036545220]