• Home
    • View
    • Login
    This page
    • Normal
    • Export PDF
    • Page Information

    Loading...
  1. Dashboard
  2. Undefined Space
  3. Skara
  4. FAQ

Page History

Versions Compared

Old Version 41

changes.mady.by.user Erik Helin

Saved on Apr 01, 2020

compared with

New Version 42

changes.mady.by.user Erik Helin

Saved on Apr 16, 2020

  • Previous Change: Difference between versions 40 and 41
  • Next Change: Difference between versions 42 and 43
  • View Page History

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
$ git clone github.com:openjdk/jdk
$ git clone github:openjdk/jdk
$ git clone gh:openjdk/jdk

My computer is behind a HTTP(S) proxy, can I still clone using SSH?

Yes, by adding a ProxyCommand directive in your SSH configuration ~/.ssh/config. The value for ProxyCommand is operating system dependent, since different programs are available on different operating systems. Please follow the instructions specific for your operating system below:

GNU/Linux

Add the following lines to ~/.ssh/config:

Code Block
languagebash
Host github.com github gh
User git
Hostname github.com
ProxyCommand nc --proxy PROXY-HOSTNAME:PROXY-PORT %h %p

Substitute PROXY-HOSTNAME with the hostname of the HTTP(S) proxy server, and PROXY-PORT with the port of the HTTP(S) proxy server.

macOS

Add the following lines to ~/.ssh/config:

Code Block
languagebash
Host github.com github gh
User git
Hostname github.com
ProxyCommand /usr/bin/nc -X connect -x PROXY-HOSTNAME:PROXY-PORT %h %p

Substitute PROXY-HOSTNAME with the hostname of the HTTP(S) proxy server, and PROXY-PORT with the port of the HTTP(S) proxy server. Note that the full path to nc must be used since Homebrew might install the GNU version of nc (which does not support the -X flag).

Windows

Shell

Bash

Can I see the currently checked out local branch in my prompt?

...

Overview
Content Tools
ThemeBuilder

Terms of Use
• License: GPLv2
• Privacy • Trademarks • Contact Us

Powered by a free Atlassian Confluence Open Source Project License granted to https://www.atlassian.com/software/views/opensource-community-additional-license-offer. Evaluate Confluence today.

  • Kolekti ThemeBuilder Powered by Atlassian Confluence 8.5.23
  • Kolekti ThemeBuilder printed.by.atlassian.confluence
  • Report a bug
  • Atlassian News
Atlassian
Kolekti ThemeBuilder EngineAtlassian Confluence
{"serverDuration": 352, "requestCorrelationId": "827c68c839609297"}