nitter
Ross Burton
@rossburton
29 May 2013
Okay, why doesn't this git alias correctly expand $1? localfetch = !git fetch $1 +refs/remotes/*:refs/remotes/*
2
Daniel Silverstone ๐๐๐๐ยฒ ๐ณ๏ธโ๐๐ฌ๐ง
@dsilverstone
29 May 2013
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
Ross Burton
@rossburton
29 May 2013
Replying to
@dsilverstone
@dsilverstone
the question then is how does my review alias work...
1
Daniel Silverstone ๐๐๐๐ยฒ ๐ณ๏ธโ๐๐ฌ๐ง
@dsilverstone
29 May 2013
@rossburton
More by luck than judgement?
1
more replies
Ross Burton
@rossburton
29 May 2013
Replying to
@dsilverstone
@dsilverstone
the -- appears to be the magic thanks
1
Daniel Silverstone ๐๐๐๐ยฒ ๐ณ๏ธโ๐๐ฌ๐ง
@dsilverstone
29 May 2013
@rossburton
The -- is always magical :-)