r/ProgrammerHumor • • 2d ago

Meme [ Removed by moderator ]

/r/ProgrammerHumor/comments/1y5zctl/removed_by_moderator/

[removed] — view removed post

5.2k Upvotes

353 comments sorted by

View all comments

Show parent comment

10

u/korneev123123 2d ago

git has it's own alias system. For example, I set alias co = checkout, and the best part is that bash completion understands this automatically, and suggests valid targets for checkout. Bash-level aliases won't do that.

3

u/JontesReddit 2d ago

git's new alias system supports any unicode character now by the way.

New "subsection" aliases will in future releases have more properties than command.

Subsection alises do not replace traditional aliases.

# Traditional alias
[alias]
  co = checkout
# New alias
[alias "co"]
  command = checkout