Skip to content

Instantly share code, notes, and snippets.

@mattbell87
Last active March 8, 2025 12:01
Show Gist options
  • Save mattbell87/9ee1dbee15c06b5547f0664bb1cd82d6 to your computer and use it in GitHub Desktop.
Save mattbell87/9ee1dbee15c06b5547f0664bb1cd82d6 to your computer and use it in GitHub Desktop.
Use GIT behind Azure Application Proxy

1. Download the cookies.txt extenstion for chrome

Download here on the chrome web store

2. Log in

Open a browser and log in to your GIT server (eg GitLab). This should give you an Azure login page, afterwards you'll be logged in to your server.

3. Download your cookies

Click the cookies.txt icon in your browser, then choose to download the cookies for the tab that has your GIT server.

4. Tell GIT about the login details

Open a terminal and type:

git config --global http.cookieFile ~/path/to/cookies.txt 

5. You're done

You should now be able to clone/push/pull. You may need to repeat steps 2 and 3 when your session expires (just overwrite the old cookies.txt).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment