1
0
mirror of synced 2025-12-22 03:16:52 -05:00

GHEC version (#20947)

Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com>
Co-authored-by: Grace Park <gracepark@github.com>
Co-authored-by: Steve Guntrip <12534592+stevecat@users.noreply.github.com>
Co-authored-by: Robert Sese <sese@github.com>
Co-authored-by: Peter Bengtsson <peterbe@github.com>
Co-authored-by: Rachael Sewell <rachmari@github.com>
This commit is contained in:
Laura Coursen
2021-10-15 15:41:33 -05:00
committed by GitHub
parent be8cb7cb8c
commit 8f964ea2cb
1592 changed files with 4984 additions and 3494 deletions

View File

@@ -15,6 +15,7 @@ versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
---
## About remote repositories
@@ -64,15 +65,15 @@ When you `git clone`, `git fetch`, `git pull`, or `git push` to a remote reposit
{% endtip %}
{% ifversion fpt %}If you'd rather use SSH but cannot connect over port 22, you might be able to use SSH over the HTTPS port. For more information, see "[Using SSH over the HTTPS port](/github/authenticating-to-github/using-ssh-over-the-https-port)."{% endif %}
{% ifversion fpt or ghec %}If you'd rather use SSH but cannot connect over port 22, you might be able to use SSH over the HTTPS port. For more information, see "[Using SSH over the HTTPS port](/github/authenticating-to-github/using-ssh-over-the-https-port)."{% endif %}
## Cloning with SSH URLs
SSH URLs provide access to a Git repository via SSH, a secure protocol. To use these URLs, you must generate an SSH keypair on your computer and add the **public** key to your {% data variables.product.product_name %} account. For more information, see "[Connecting to {% data variables.product.prodname_dotcom %} with SSH](/github/authenticating-to-github/connecting-to-github-with-ssh)."
SSH URLs provide access to a Git repository via SSH, a secure protocol. To use these URLs, you must generate an SSH keypair on your computer and add the **public** key to your account on {% ifversion ghae %}{% data variables.product.product_name %}{% else %}{% data variables.product.product_location %}{% endif %}. For more information, see "[Connecting to {% data variables.product.prodname_dotcom %} with SSH](/github/authenticating-to-github/connecting-to-github-with-ssh)."
When you `git clone`, `git fetch`, `git pull`, or `git push` to a remote repository using SSH URLs, you'll be prompted for a password and must provide your SSH key passphrase. For more information, see "[Working with SSH key passphrases](/github/authenticating-to-github/working-with-ssh-key-passphrases)."
{% ifversion fpt %}If you are accessing an organization that uses SAML single sign-on (SSO), you must authorize your SSH key to access the organization before you authenticate. For more information, see "[About authentication with SAML single sign-on](/github/authenticating-to-github/about-authentication-with-saml-single-sign-on)" and "[Authorizing an SSH key for use with SAML single sign-on](/github/authenticating-to-github/authorizing-an-ssh-key-for-use-with-saml-single-sign-on)."{% endif %}
{% ifversion fpt or ghec %}If you are accessing an organization that uses SAML single sign-on (SSO), you must authorize your SSH key to access the organization before you authenticate. For more information, see "[About authentication with SAML single sign-on](/github/authenticating-to-github/about-authentication-with-saml-single-sign-on)" and "[Authorizing an SSH key for use with SAML single sign-on](/github/authenticating-to-github/authorizing-an-ssh-key-for-use-with-saml-single-sign-on)."{% endif %}
{% tip %}
@@ -80,7 +81,7 @@ When you `git clone`, `git fetch`, `git pull`, or `git push` to a remote reposit
{% endtip %}
{% ifversion fpt or ghes or ghae %}
{% ifversion fpt or ghes or ghae or ghec %}
## Cloning with {% data variables.product.prodname_cli %}

View File

@@ -13,6 +13,7 @@ versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
shortTitle: Associate text editors
---
{% mac %}

View File

@@ -12,6 +12,7 @@ versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
shortTitle: Caching credentials
---

View File

@@ -13,6 +13,7 @@ versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
shortTitle: Handle line endings
---
## About line endings

View File

@@ -11,5 +11,6 @@ versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
---
You can adopt the {% data variables.product.prodname_dotcom %} flow method to standardize how your team functions and collaborates on {% data variables.product.prodname_dotcom %}. For more information, see "[{% data variables.product.prodname_dotcom %} flow](/github/getting-started-with-github/github-flow)."

View File

@@ -12,6 +12,7 @@ versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
---
## Configuring ignored files for a single repository

View File

@@ -11,6 +11,7 @@ versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
children:
- /setting-your-username-in-git
- /caching-your-github-credentials-in-git

View File

@@ -22,6 +22,7 @@ versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
shortTitle: Manage remote repositories
---
## Adding a remote repository

View File

@@ -10,6 +10,7 @@ versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
shortTitle: Set your username
---
## About Git usernames

View File

@@ -11,6 +11,7 @@ versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
shortTitle: macOS Keychain credentials
---
{% tip %}

View File

@@ -10,6 +10,7 @@ versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
shortTitle: Git passwords
---
Using an HTTPS remote URL has some advantages compared with using SSH. It's easier to set up than SSH, and usually works through strict firewalls and proxies. However, it also prompts you to enter your {% data variables.product.product_name %} credentials every time you pull or push a repository.