You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/docs/sas-tools/2_CloneStudioSAS9.md
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,15 +21,14 @@ To view a demonstration of how to create and configure SSH keys with GitHub and
21
21
22
22
## Clone the repository in SAS Studio
23
23
1. In your forked repository on GitHub.com, select the green **Code** button. On the **Local** tab, select **SSH**. Click <imgwidth="12"height="14"alt="Copy (2)"src="https://github.com/user-attachments/assets/18939792-199e-4bf5-aaa9-7d888cee73fe" /> (**Copy**) to copy the repository reference.
24
-
2. Return to SAS Studio. IN the Git Repository pane, click **Clone a Repository**. Navigate to a location with write access, then right-click the folder and select **New folder**. Name the folder `sas-code-examples` and click **OK**.
25
-
3. Select <imgwidth="12"height="14"alt="GitRepository"src="https://github.com/user-attachments/assets/521a9569-1a6f-48fc-b48e-7ac0ce1470d1" /> (**Git Repositories**) in the left pane and click **Clone**.
26
-
4. Paste the repository URL copied previously from GitHub. Next, click **Browse**. Create a new folder named `sas-code-examples` in a location of your choice. Select the new `sas-code-examples` folder and click **OK**.
27
-
5. `sas-code-examples` is now listed in the **Git Repositories** pane, and a new tab opens. You can also double click the repository name in the left pane to open it. This is where you can view the staged and unstaged changes in your local repository and pull or push changes to the external Git repository.
24
+
2. Return to SAS Studio. In the Git Repository pane, click **Clone a Repository**.
25
+
3. Paste the repository URL copied previously from GitHub. Next, click **Browse**. Create a new folder named `sas-code-examples` in a location of your choice. Select the new `sas-code-examples` folder and click **OK**.
26
+
4. `sas-code-examples` is now listed in the **Git Repositories** pane, and a new tab opens. You can also double click the repository name in the left pane to open it. This is where you can view the staged and unstaged changes in your local repository and pull or push changes to the external Git repository.
28
27
29
28
## Create/modify programs and update personal repository
30
-
1. In SAS Studio, click <imgwidth="12"height="14"alt="Server"src="https://github.com/user-attachments/assets/2372856a-165c-48c6-90d0-b96c069c1c48" /> in the left pane to open the**Explorer** or **SAS Server**. Navigate to`sas-code-examples` folder where you cloned your personal forked version of the repository.
29
+
1. In SAS Studio, expand Files and Folders. Navigate to the `sas-code-examples` folder where you cloned your personal forked version of the repository.
31
30
2. You can open existing programs, make modifications, and save changes – just as you would any other local files. You can also add new programs. Any changes you make are saved only in your local repository.
32
-
3. Select <imgwidth="12"height="14"alt="GitRepository"src="https://github.com/user-attachments/assets/0fec2580-827d-475d-87dc-23ec269d124f" /> (**Git Repositories**) and double-click `sas-code-examples` to open the repository in a tab. Any programs that have been modified or created will be listed in the _Unstaged Changes_ list. Select one or more programs from the list and use the down arrow icons to move them to the _Staged Changes_.
31
+
3. Select **Git Repositories** and double-click `sas-code-examples` to open the repository in a tab. Any programs that have been modified or created will be listed in the _Unstaged Changes_ list. Select one or more programs from the list and use the down arrow icons to move them to the _Staged Changes_.
33
32
4. View the program on the right to examine highlighted portions of the code that have been added or removed.
34
33
5. Type a message in the **Commit Comment** box that describes the modifications made to the program(s), then click **Commit**.
0 commit comments