|
Before Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 341 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 306 KiB |
|
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 980 KiB |
|
Before Width: | Height: | Size: 63 KiB |
|
Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 909 KiB |
|
Before Width: | Height: | Size: 5.0 KiB |
|
Before Width: | Height: | Size: 3.0 KiB |
|
Before Width: | Height: | Size: 20 KiB |
@@ -70,14 +70,10 @@ Alternatively, you can drag and drop a text file from your desktop directly into
|
||||
|
||||
1. Sign in to {% data variables.product.product_name %}.
|
||||
2. Navigate to your {% data variables.gists.gist_homepage %}.
|
||||
3. Type an optional description and name for your gist.
|
||||

|
||||
3. Optionally, in the "Gist description" field, type a description for your gist.
|
||||
4. In the "Filename including extension" field, type a file name for your gist, including the file extensions.
|
||||
5. In the file contents field, type the text of your gist.
|
||||
6. Optionally, to create {% ifversion ghae %}an internal{% else %}a public{% endif %} gist, click {% octicon "triangle-down" aria-label="The downwards triangle icon" %}, then click **Create {% ifversion ghae %}internal{% else %}public{% endif %} gist**.
|
||||
|
||||
4. Type the text of your gist into the gist text box.
|
||||

|
||||
|
||||
5. Optionally, to create {% ifversion ghae %}an internal{% else %}a public{% endif %} gist, click {% octicon "triangle-down" aria-label="The downwards triangle icon" %}, then click **Create {% ifversion ghae %}internal{% else %}public{% endif %} gist**.
|
||||
![Drop-down menu to select gist visibility]{% ifversion ghae %}(/assets/images/help/gist/gist-visibility-drop-down-ae.png){% else %}(/assets/images/help/gist/gist-visibility-drop-down.png){% endif %}
|
||||
|
||||
6. Click **Create secret Gist** or **Create {% ifversion ghae %}internal{% else %}public{% endif %} gist**.
|
||||

|
||||
![Screenshot of the visibility dropdown menu for a new gist. Next to a button labeled "Create secret gist", a dropdown icon is outlined in dark orange.]{% ifversion ghae %}(/assets/images/help/gist/gist-visibility-drop-down-ae.png){% else %}(/assets/images/help/gist/gist-visibility-drop-down.png){% endif %}
|
||||
7. Click **Create secret Gist** or **Create {% ifversion ghae %}internal{% else %}public{% endif %} gist**.
|
||||
|
||||
@@ -12,24 +12,23 @@ versions:
|
||||
ghae: '*'
|
||||
ghec: '*'
|
||||
---
|
||||
|
||||
## Forking gists
|
||||
|
||||
Each gist indicates which forks have activity, making it easy to find interesting changes from others.
|
||||
|
||||

|
||||
|
||||
## Cloning gists
|
||||
|
||||
If you want to make local changes to a gist and push them up to the web, you can clone a gist and make commits the same as you would with any Git repository. For more information, see "[AUTOTITLE](/repositories/creating-and-managing-repositories/cloning-a-repository)."
|
||||
|
||||

|
||||
To clone a gist, select the Embed dropdown menu, then click Clone via HTTPS or Clone via SSH.
|
||||
|
||||

|
||||
|
||||
## Viewing gist commit history
|
||||
|
||||
To view a gist's full commit history, click the "Revisions" tab at the top of the gist.
|
||||
|
||||

|
||||
|
||||
You will see a full commit history for the gist with diffs.
|
||||
|
||||

|
||||

|
||||
|
||||