Closed infraredgirl closed 2 years ago
I figured out how to make this work:
git-xargs --loglevel=DEBUG --dry-run --branch-name test --repo gruntwork-io/git-xargs bash -c "touch a && touch b"
No changes in git-xargs
required. I'm closing this issue - consider this a PEBKAC. 😄
I wonder if this one would be a good candidate for a Knowledge Base? Would that be useful?
I think that makes sense!
git-xargs version v0.0.12
To Reproduce This fails:
git-xargs --loglevel=DEBUG --dry-run --branch-name test --repo gruntwork-io/git-xargs "touch a && touch b"
and so does even this:
git-xargs --loglevel=DEBUG --dry-run --branch-name test --repo gruntwork-io/git-xargs "touch a"
while this works
git-xargs --loglevel=DEBUG --dry-run --branch-name test --repo gruntwork-io/git-xargs touch a
So it seems that quotes are the problem, but they are necessary to construct complex commands.