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
- Change to the directory where update-profile.ps1 is located
83
+
```sh
84
+
cd"C:\Path\To\gkcli-update-profile.ps1"
85
+
```
86
+
87
+
- Run the script to update the profile and sign the auto-completion script
88
+
```sh
89
+
.\gkcli-update-profile.ps1
90
+
```
91
+
- Restart PowerShell to apply the changes.
92
+
93
+
##### Run the Uninstall Script
94
+
- Change to the directory where uninstall-profile.ps1 is located
95
+
```sh
96
+
cd"C:\Path\To\gkcli-uninstall-profile.ps1"
97
+
```
98
+
99
+
- Run the script to remove the auto-completion setup
100
+
```sh
101
+
.\gkcli-uninstall-profile.ps1
102
+
```
103
+
104
+
- Restart PowerShell to apply the changes.
105
+
106
+
107
+
73
108
Or download the binary from the [releases page][] and place the `gk.exe` in a desired folder.
74
109
Then edit your environment variables to add it to your PATH.
75
110
76
111
1. In Search, search for **Environment Variables**.
77
112
2. Click on the **Edit the system environment variables** result.
78
113
3. In the modal, click on the **Environment Variables...** button.
79
114
4. In the **System Variables** section, scroll until you find the **PATH** variable. Click on it.
80
-
- If it doesn't exist, create a variable with the name **PATH**.
115
+
- If it doesn't exist, create a variable with the name **PATH**.
81
116
5. Add the path to the `gk` binary at the end.
82
117
83
118
@@ -101,13 +136,13 @@ unalias gk
101
136
102
137
### What are Cloud Patches and why would you want to use them
103
138
104
-
A Cloud Patch is a Git patch that GitKraken securely stores for you so it can be easily shared with others across the GitKraken CLI, GitKraken Desktop, and GitLens. The patch is directly transferred from your machine into secure storage.
139
+
A Cloud Patch is a Git patch that GitKraken securely stores for you so it can be easily shared with others across the GitKraken CLI, GitKraken Desktop, and GitLens. The patch is directly transferred from your machine into secure storage.
105
140
106
141
Cloud Patches allow the ability to engage early with your team before a pull request. They can be created as soon as you have a work in progress. This can help with collaborating on changes prior to a pull request and minimize the delay of pull request reviews.
107
142
108
-
### How to setup Cloud Patches
143
+
### How to setup Cloud Patches
109
144
110
-
Cloud Patches are enabled in the GitKraken CLI by default.
145
+
Cloud Patches are enabled in the GitKraken CLI by default.
111
146
112
147
### How to work with Cloud Patches
113
148
@@ -145,25 +180,25 @@ If you do not want your Cloud Patch data stored on GitKraken Servers, we offer t
145
180
146
181
## Code Suggest
147
182
148
-
GitKraken Code Suggest simplifies code review by allowing you to make suggestions and edits across the entire project, not just on the lines that were changed, within GitLens, GitKraken Desktop, and gitkraken.dev. When a Pull Request is open, you can make suggestions to the pull request that others can then review and accept to include in the pull request.
183
+
GitKraken Code Suggest simplifies code review by allowing you to make suggestions and edits across the entire project, not just on the lines that were changed, within GitLens, GitKraken Desktop, and gitkraken.dev. When a Pull Request is open, you can make suggestions to the pull request that others can then review and accept to include in the pull request.
To start, navigate (`cd`) to a repository with an open pull request. Then, check out the branch with the open pull request (`git checkout branch-name`). Next, begin making the desired changes locally that you would like to include as suggestions. The [Launchpad](#-launchpad) can quickly help you see open pull requests, check out branches, and begin working.
187
+
To start, navigate (`cd`) to a repository with an open pull request. Then, check out the branch with the open pull request (`git checkout branch-name`). Next, begin making the desired changes locally that you would like to include as suggestions. The [Launchpad](#-launchpad) can quickly help you see open pull requests, check out branches, and begin working.
153
188
154
-
Once you are ready to suggest the changes, run `gk pr suggest`,
189
+
Once you are ready to suggest the changes, run `gk pr suggest`,
This will include a comment on the pull request with two options: you can select _Code Suggestion for #PR_ to open the suggestion in gitkraken.dev or select _locally on your machine_ to open the suggestion in GitKraken or GitLens.
When selecting the _Code Suggestion for #PR_ you will be taken to gitkraken.dev to review and accept the changes. Here, you can review the changes by selecting each file and once you are ready, you can select _Commit Suggestions_. This will create a new commit on the remote for the existing branch (shown under _COMMIT SUGGESTIONS TO_).
197
+
When selecting the _Code Suggestion for #PR_ you will be taken to gitkraken.dev to review and accept the changes. Here, you can review the changes by selecting each file and once you are ready, you can select _Commit Suggestions_. This will create a new commit on the remote for the existing branch (shown under _COMMIT SUGGESTIONS TO_).
When selecting _locally on your machine_ you can open them on [GitKraken Desktop](/gitkraken-client/pull-requests/#review-code-and-suggest-changes) or [GitLens](gitlens/gitlens-features/#code-suggest-preview). Here, you can review the changes by selecting each file and once you are ready, you can select _Apply_ to apply to the branch you currently have checked out or select the dropdown and then _Apply to a Branch_ to apply to a new branch or select an existing branch. This will apply the patch locally.
201
+
When selecting _locally on your machine_ you can open them on [GitKraken Desktop](/gitkraken-client/pull-requests/#review-code-and-suggest-changes) or [GitLens](gitlens/gitlens-features/#code-suggest-preview). Here, you can review the changes by selecting each file and once you are ready, you can select _Apply_ to apply to the branch you currently have checked out or select the dropdown and then _Apply to a Branch_ to apply to a new branch or select an existing branch. This will apply the patch locally.
0 commit comments