Skip to content

Commit e54d6bb

Browse files
committed
GitHub CLI mentions
1 parent 3c7ddd5 commit e54d6bb

File tree

1 file changed

+29
-1
lines changed

1 file changed

+29
-1
lines changed

git-crash-course/readme.md

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,35 @@ We will need to create our own SSH RSA key pair.
3131

3232
>Particulary in my case, using WSL did not work well. So I got a suggestion from a friend and began to use Git Bash, instead of WSL. And then it worked.
3333
34-
I had to create all the folders structure of SSH and also the SSH key.
34+
I had to create all the folders structure of SSH and also the SSH key and do the steps related to it.
35+
36+
We can test our connection here:
37+
```
38+
39+
```
40+
41+
### GitHub CLI
42+
43+
I installed the CLI via web browser and later started to use Git Bash to manipulate it.
44+
> I used the following path link: https://github.com/cli/cli/releases/download/v2.52.0/gh_2.52.0_windows_amd64.zip
45+
46+
Then unziped it and moved the '.exe' file to /bin folder.
47+
48+
Later i moved to that folder and tried to check if it's working checking it's version.
49+
```
50+
cd /bin
51+
./gh --version
52+
```
53+
54+
```
55+
gh auth login
56+
gh clone
57+
```
58+
59+
- Como clonar um repo via GitHub cli
60+
```
61+
gh repo clone {user/repo}
62+
```
3563

3664
### HTTPS
3765
```sh

0 commit comments

Comments
 (0)