Skip to content

Instantly share code, notes, and snippets.

@iggyvolz
Created December 3, 2016 18:19
Show Gist options
  • Save iggyvolz/0137076cce68ab1e84fec4216a6fbf89 to your computer and use it in GitHub Desktop.
Save iggyvolz/0137076cce68ab1e84fec4216a6fbf89 to your computer and use it in GitHub Desktop.
X="`curl -Ss -D - https://git.yinn.ga`"
git config --global http.cookieFile /tmp/yb-gitcookiefile
echo "$X"|grep Set-Cookie>/tmp/yb-gitcookiefile
echo "$X"|grep "Please authorize session"|xargs echo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment