Okay, why doesn't this git alias correctly expand $1? localfetch = !git fetch $1 +refs/remotes/*:refs/remotes/*
2
Replying to @rossburton
@rossburton In git aliases, !foo has the git args *appended* only. Try localfetch = !sh -c 'git fetch $1 +refs/remotes/...' --

May 29, 2013 ยท 12:26 PM UTC

2