mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
Merge pull request #649 from adriaanzon/patch-1
git-fork: Let curl exit with error code on fail
This commit is contained in:
commit
204406bd29
|
|
@ -31,7 +31,7 @@ fi
|
|||
[ -z "$project" -o -z "$owner" ] && abort "github repo needs to be specified as an argument"
|
||||
|
||||
# create fork
|
||||
curl -qs \
|
||||
curl -qsf \
|
||||
-X POST \
|
||||
-u "$user" \
|
||||
-H "X-GitHub-OTP: $MFA_CODE" \
|
||||
|
|
|
|||
Loading…
Reference in a new issue