You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 3, 2019. It is now read-only.
> git pull upstream $(git branch | grep '^*' | sed -n 's/*[ ]*//p')
sed: -e Ausdruck #1, Zeichen 1: Unbekannter Befehl: `''
fatal: 'upstream' does not appear to be a git repository
fatal: Could not read from remote repository.
Actually, I got similar issue but with grep (probably also sed) since I do not install Git for Windows with all of the Unix commands in my %PATH% to avoid problems with other applications for commands like find.
As a workaround on my end, I create a batch file in my .\cmd directory, which is part of my %PATH%, with the name of the executable command from .\usr\bin, so it acts as a symlink without the need of administrator access.
Here the batch file, just copy this for every executable you need to access and change the name of the .bat of .cmd file to the one you need:
@ECHOOFF"%~dp0\usr\bin\%~n0.exe"%*
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I've got sed from:
http://gnuwin32.sourceforge.net/packages/sed.htm
Best regards,
Stefan
The text was updated successfully, but these errors were encountered: