GitAlias

Dev tools

git aliases

SHOW HN2016

37points
25comments
#892of 2,264 in 2016
Top 40%of 2016 by points

How HN took it

RoastedHalf or more of the comments are critical

1 positive, 3 neutral or asking, 0 mixed, 4 critical, out of 8 comments about the project. Thread score -0.24.

Idea: 1 for, 3 againstDocs: 0 for, 1 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Useful aliases collection

    From 2 comments
    • 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…
      felipesabino on HN
    • 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)…
      wuthefwasthat on HN

Objections

  • Duplicates existing alias lists like oh-my-zsh git plugin

    From 2 comments
    • If you are a oh-my-zsh user, the Git plugin has tons of aliases ready to use: https://github.com/robbyrussell/oh-my-zsh/wiki/Plugin:git
      petetnt on HN
    • I'm using this too, not sure why you would make another list.
      neogenix on HN
  • Marginal value; mapping choices like p to pull are personal preference

    From 1 comment
    • 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…
      embiggen on HN

Requests

  • Add links to existing alias collections to the README

    From 4 comments
    • Thanks! I'll add this to the README now.
      jph on HN
    • Thank you! I'm adding your link to the README now.
      jph on HN
    • Thanks, I'm adding Magit to the README now.
      jph on HN
    • Cool, thanks, I'm adding that to the README now.
      jph on HN
  • Link directly to the GitHub repo

    From 1 comment
    • 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,…
      BlakePetersen on HN

Questions

  • Why map p to pull rather than push

    From 1 comment
    • 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…
      embiggen on HN

Alternatives named

  • oh-my-zsh git plugin

    From 1 comment
    • If you are a oh-my-zsh user, the Git plugin has tons of aliases ready to use: https://github.com/robbyrussell/oh-my-zsh/wiki/Plugin:git
      petetnt on HN
  • SCM Breeze

    From 1 comment
    • I'm personally a big fan of SCM Breeze[0] [0] https://github.com/ndbroadbent/scm_breeze
      michaelmior on HN
  • Magit

    From 1 comment
    • Related: if you use Emacs, look into Magit, it's amazing. https://magit.vc/
      sdegutis on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/11928270)