Merge branch 'main' into patch-3
This commit is contained in:
BIN
assets/images/help/repository/sync-fork-dropdown.png
Normal file
BIN
assets/images/help/repository/sync-fork-dropdown.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 18 KiB |
BIN
assets/images/help/repository/update-branch-button.png
Normal file
BIN
assets/images/help/repository/update-branch-button.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 49 KiB |
@@ -41,13 +41,16 @@ After you authenticate to perform a sensitive action, your session is temporaril
|
||||
|
||||
To confirm access for sudo mode, you {% ifversion totp-and-mobile-sudo-challenge %}can{% else %}must{% endif %} authenticate with your password.{% ifversion totp-and-mobile-sudo-challenge %} Optionally, you can use a different authentication method, like {% ifversion fpt or ghec %}a security key, {% data variables.product.prodname_mobile %}, or a 2FA code{% elsif ghes %}a security key or a 2FA code{% endif %}.{% endif %}
|
||||
|
||||
{% ifversion totp-and-mobile-sudo-challenge %}
|
||||
{%- ifversion totp-and-mobile-sudo-challenge %}
|
||||
- [Confirming access using a security key](#confirming-access-using-a-security-key)
|
||||
{%- ifversion fpt or ghec %}
|
||||
- [Confirming access using GitHub Mobile](#confirming-access-using-github-mobile)
|
||||
{%- endif %}
|
||||
- [Confirming access using a 2FA code](#confirming-access-using-a-2fa-code)
|
||||
- [Confirming access using your password](#confirming-access-using-your-password)
|
||||
{%- endif %}
|
||||
|
||||
{% ifversion totp-and-mobile-sudo-challenge %}
|
||||
|
||||
### Confirming access using a security key
|
||||
|
||||
@@ -57,8 +60,6 @@ When prompted to authenticate for sudo mode, click **Use security key**, then fo
|
||||
|
||||

|
||||
|
||||
{% endif %}
|
||||
|
||||
{% ifversion fpt or ghec %}
|
||||
|
||||
### Confirming access using {% data variables.product.prodname_mobile %}
|
||||
@@ -75,8 +76,6 @@ You must install and sign into {% data variables.product.prodname_mobile %} to c
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% ifversion totp-and-mobile-sudo-challenge %}
|
||||
|
||||
### Confirming access using a 2FA code
|
||||
|
||||
You must configure 2FA using a TOTP mobile app{% ifversion fpt or ghec %} or text messages{% endif %} to confirm access to your account for sudo mode using a 2FA code. For more information, see "[Configuring two-factor authentication](/authentication/securing-your-account-with-two-factor-authentication-2fa/configuring-two-factor-authentication)."
|
||||
|
||||
@@ -23,11 +23,18 @@ permissions: People with write access for a forked repository can sync the fork
|
||||
|
||||
## Syncing a fork branch from the web UI
|
||||
|
||||
{% ifversion syncing-fork-web-ui %}
|
||||
1. On {% data variables.product.product_name %}, navigate to the main page of the forked repository that you want to sync with the upstream repository.
|
||||
2. Select the **Fetch upstream** drop-down.
|
||||
2. Select the **Sync fork** dropdown.
|
||||

|
||||
3. Review the details about the commits from the upstream repository, then click **Update branch**.
|
||||

|
||||
{% else %}
|
||||
1. On {% data variables.product.product_name %}, navigate to the main page of the forked repository that you want to sync with the upstream repository.
|
||||
2. Select the **Fetch upstream** dropdown.
|
||||

|
||||
3. Review the details about the commits from the upstream repository, then click **Fetch and merge**.
|
||||

|
||||
{% endif %}
|
||||
|
||||
If the changes from the upstream repository cause conflicts, {% data variables.product.company_short %} will prompt you to create a pull request to resolve the conflicts.
|
||||
|
||||
|
||||
7
data/features/syncing-fork-web-ui.yml
Normal file
7
data/features/syncing-fork-web-ui.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
# Issue 7629
|
||||
# Improved UI for manually syncing a fork
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghec: '*'
|
||||
ghes: '>=3.7'
|
||||
ghae: 'issue-7629'
|
||||
@@ -1,6 +1,6 @@
|
||||
# TOTP and mobile challenge for sudo mode prompt.
|
||||
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghec: '*'
|
||||
#fpt: '*'
|
||||
#ghec: '*'
|
||||
ghes: '>= 3.7'
|
||||
|
||||
Reference in New Issue
Block a user