Skip to content

Commit 4cbe567

Browse files
Added image
1 parent e569bfd commit 4cbe567

8 files changed

+27
-3
lines changed

README.md

+27-3
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55

66
#### For Termux
77
```bash
8-
apt install openssh git -y
8+
pkg update && pkg install openssh git gh -y
99
```
1010

1111
#### For Linux
1212

1313
```bash
14-
sudo apt install ssh git -y
14+
sudo apt update && sudo apt install ssh git gh -y
1515
```
1616

1717
Configure your username with this command
@@ -66,7 +66,31 @@ you can choose a title whatever you want and the Key type must be set to "Authen
6666
Now click on "Add SSH key"
6767

6868

69-
#### Congratulation you have configured your git cli!
69+
#### Configure gh cli that you don't can access the git'
70+
71+
```bash
72+
gh auth login
73+
```
74+
75+
Now it prompt to chosse account like this
76+
<img src="assets/image_1.jpg">
77+
choose Github.com
78+
79+
<img src="assets/image_2.jpg">
80+
Now choose HTTPS
81+
<img src="assets/image_3.jpg">
82+
Login with a web browser
83+
<img src="assets/image_4.jpg">
84+
Now you will see a code on your screen and a promt to open browser
85+
Select the browser in which you are logged in with that account
86+
<img src="assets/image_5.jpg">
87+
Type the code shown on the terminal and click continue
88+
<img src="assets/image_6.jpg">
89+
On next screen you will see something like this just click "Authorize Github"
90+
<img src="assets/image_7.jpg">
91+
And at last you will see a screen like this
92+
93+
#### Congratulation you have configured your git & gh cli!
7094

7195
### Now its time to upload a project to you github repo
7296

assets/image_1.jpg

44.4 KB
Loading

assets/image_2.jpg

55.3 KB
Loading

assets/image_3.jpg

76.5 KB
Loading

assets/image_4.jpg

81.4 KB
Loading

assets/image_5.jpg

7.5 KB
Loading

assets/image_6.jpg

57.1 KB
Loading

assets/image_7.jpg

14.9 KB
Loading

0 commit comments

Comments
 (0)