-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25 from willfurnass/git_proxy_info
Add info on enabling git proxy
- Loading branch information
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
.. _git: | ||
|
||
Git | ||
=== | ||
|
||
.. sidebar:: Git | ||
|
||
:URL: https://git-scm.com/ | ||
|
||
Git 2.17 is available on JADE. You do not need to load any module files to access it. | ||
|
||
Cloning/pushing to/pulling from online Git repositories | ||
------------------------------------------------------- | ||
|
||
JADE does not have direct Internet access so you need to tell Git to communicate with GitHub/GitLab via a proxy. | ||
|
||
You can configure proxy connections per-repository with: | ||
|
||
.. code-block:: sh | ||
git config http.proxy $http_proxy | ||
git config https.proxy $https_proxy | ||
Or globally configure the use of a particular proxy with: | ||
|
||
.. code-block:: sh | ||
git config --global http.proxy $http_proxy | ||
git config --global https.proxy $https_proxy | ||
Then ensure you use ``https://`` rather than ``git://`` when cloning repositories on Jade. |