4 ms·
IIRC, Powershell and CMD have different chain syntax, so it depends which one you're running from. If I'm using CMD I can use &&, whereas | works on PS. I migh
by EnderMB 9y ago
IIRC, Powershell and CMD have different chain syntax, so it depends which one you're running from. If I'm using CMD I can use &&, whereas | works on PS.
I might be wildly wrong on this one, but I'm a big fan of writing "git add . && git commit -m "Commit Message" && git push origin master", and I noticed that in a Powershell window I had to use the vertical bar instead of double-ampersands.
- hungerstrike 9y agoWow, I have to try that out later. I have always avoided powershell in favor of CMD because I wasn’t sure of what powershell extras would get my way. Seems like this would be one example of that.