Comment

Comment by nu11p01n73R

> 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.

parent nu11p01n73R 9 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton