Skip to content

Commit 6840bed

Browse files
author
github-actions
committed
setup guides generated
1 parent 68b2cde commit 6840bed

15 files changed

+114
-117
lines changed

macos.cn.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -205,20 +205,18 @@ CLI是[Command-line Interface(命令行界面)](https://baike.baidu.com/item
205205
:warning: **不要更改下面指令中的`email`**
206206

207207
```bash
208-
gh auth login -s 'user:email' -w
208+
gh auth login -s 'user:email' -w --git-protocol ssh
209209
```
210210

211-
gh会问你几个问题
211+
`gh`会问你几个问题
212212

213-
`What is your preferred protocol for Git operations?(你要用什么协议来执行Git操作?)` 让箭头`>`停在`SSH`前面,然后敲击回车。SSH使用SSH密钥来登陆用户,而不是用用户名和密码
213+
- `Generate a new SSH key to add to your GitHub account?(生成新的SSH密钥,然后添加到Github账号上?)` 敲击回车,让gh帮你生成
214214

215-
`Generate a new SSH key to add to your GitHub account?(生成新的SSH密钥,然后添加到Github账号上?)` 敲击回车,让gh帮你生成
215+
如果你以前生成过SSH密钥,那你就会看到这个问题`Upload your SSH public key to your GitHub account?(上传公共密钥到Github账户上上吗?)` 上下移动箭头`>`,让它停在你想选的SSH公钥前面,然后敲击回车
216216

217-
如果你以前生成过SSH密钥,那你就会看到这个问题`Upload your SSH public key to your GitHub account?(上传公共密钥到Github账户上上吗?)` 上下移动箭头`>`,让它停在你想选的SSH公钥前面,然后敲击回车。
217+
- `Enter a passphrase for your new SSH key (Optional)(输入新的SSH密钥的密码(非必填))`. 输入一个密码,然后写下来或者记住它。这是保护你本地私钥的密码。然后敲击回车。
218218

219-
`Enter a passphrase for your new SSH key (Optional)(输入新的SSH密钥的密码(非必填))`. 输入一个密码,然后写下来或者记住它。这是保护你本地私钥的密码。然后敲击回车。
220-
221-
`Title for your SSH key`。你可以把它留在建议的 "GitHub CLI",按`Enter`
219+
- `Title for your SSH key`。你可以把它留在建议的 "GitHub CLI",按`Enter`
222220

223221
然后你会看到下面的文字输出:
224222

macos.es.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -218,27 +218,27 @@ CLI es una abreviación de [Command-line Interface](https://en.wikipedia.org/wik
218218

219219
En esta sección usaremos [GitHub CLI](https://cli.github.com/) para interactuar directamente con GitHub desde la terminal.
220220

221+
Usaremos la GitHub CLI (`gh`) para conectarnos a GitHub utilizando *SSH*, un protocolo para iniciar la sesión utilizando claves SSH en lugar de la famosa pareja nombre de usuario y contraseña.
222+
221223
Ya debería haberse instalado en tu computadora con los comandos que ejecutaste anteriormente.
222224

223225
Lo primero que hay que hacer para **iniciar sesión** es copiar y pegar el comando siguiente en tu terminal:
224226

225227
:warning: **NO edites el `email`**
226228

227229
```bash
228-
gh auth login -s 'user:email' -w
230+
gh auth login -s 'user:email' -w --git-protocol ssh
229231
```
230232

231-
gh le hará algunas preguntas:
232-
233-
`What is your preferred protocol for Git operations?` Con las flechas, elige `SSH` y presiona `Enter`. SSH es un protocolo para iniciar la sesión utilizando claves SSH en lugar de la famosa pareja nombre de usuario y contraseña.
233+
`gh` le hará algunas preguntas:
234234

235-
`Generate a new SSH key to add to your GitHub account?` Presiona `Enter` para pedirle a gh que genere las claves SSH por ti.
235+
- `Generate a new SSH key to add to your GitHub account?` Presiona `Enter` para pedirle a gh que genere las claves SSH por ti.
236236

237-
Si ya tienes claves SSH, verás en su lugar `Upload your SSH public key to your GitHub account?`Con las flechas, selecciona la ruta de tu archivo de clave pública y pulsa `Intro`.
237+
Si ya tienes claves SSH, verás en su lugar `Upload your SSH public key to your GitHub account?`Con las flechas, selecciona la ruta de tu archivo de clave pública y pulsa `Intro`.
238238

239-
`Enter a passphrase for your new SSH key (Optional)`. Pon algo que quieras y que recuerdes. Es una contraseña para proteger tu private key que está almacenada en tu disco duro. Luego presiona `Enter`.
239+
- `Enter a passphrase for your new SSH key (Optional)`. Pon algo que quieras y que recuerdes. Es una contraseña para proteger tu private key que está almacenada en tu disco duro. Luego presiona `Enter`.
240240

241-
`Title for your SSH key`. Puede dejarlo en la propuesta "GitHub CLI", presiona `Enter`.
241+
- `Title for your SSH key`. Puede dejarlo en la propuesta "GitHub CLI", presiona `Enter`.
242242

243243
Obtendrás el siguiente resultado:
244244

macos.fr.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -214,27 +214,27 @@ CLI est l’acronyme de [Command-line Interface](https://en.wikipedia.org/wiki/C
214214

215215
Dans cette section, tu vas installer [GitHub CLI](https://cli.github.com/) pour interagir avec GitHub directement depuis le terminal.
216216

217+
Nous allons utiliser GitHub CLI (`gh`) pour nous connecter à GitHub en utilisant *SSH*, un protocole pour s'authentifier en utilisant des clés SSH au lieu de la fameuse paire nom d'utilisateur et mot de passe.
218+
217219
Elle doit déjà être installée sur ton ordinateur grâce aux commandes précédentes.
218220

219221
Pour **te connecter**, commence par copier-coller la commande suivante dans ton terminal :
220222

221223
:warning: **NE modifie PAS `email`**
222224

223225
```bash
224-
gh auth login -s 'user:email' -w
226+
gh auth login -s 'user:email' -w --git-protocol ssh
225227
```
226228

227-
gh va te poser quelques questions :
228-
229-
`What is your preferred protocol for Git operations?` Avec les flèches, choisis `SSH` et appuie sur `Enter`. SSH est un protocole pour s'authentifier en utilisant des clés SSH au lieu de la fameuse paire nom d'utilisateur et mot de passe.
229+
`gh` va te poser quelques questions :
230230

231-
`Generate a new SSH key to add to your GitHub account?` Appuie sur `Enter` pour demander à gh de générer les clés SSH pour toi.
231+
- `Generate a new SSH key to add to your GitHub account?` Appuie sur `Enter` pour demander à gh de générer les clés SSH pour toi.
232232

233-
Si tu as déjà des clés SSH, tu verras à la place `Upload your SSH public key to your GitHub account?` Avec les flèches, sélectionne le chemain de ta clé publique et appuie sur `Enter`.
233+
Si tu as déjà des clés SSH, tu verras à la place `Upload your SSH public key to your GitHub account?` Avec les flèches, sélectionne le chemain de ta clé publique et appuie sur `Enter`.
234234

235-
`Enter a passphrase for your new SSH key (Optional)`. Saisis un mot de passe dont tu te souviendras. Ce mot de passe sert à protéger ta clé privée enregistrée sur ton disque sur. Ensuite, appuie sur `Enter`.
235+
- `Enter a passphrase for your new SSH key (Optional)`. Saisis un mot de passe dont tu te souviendras. Ce mot de passe sert à protéger ta clé privée enregistrée sur ton disque sur. Ensuite, appuie sur `Enter`.
236236

237-
`Title for your SSH key`. Tu peux laisser ce qui est proposé par défaut, à savoir "GitHub CLI", appuie sur `Enter`.
237+
- `Title for your SSH key`. Tu peux laisser ce qui est proposé par défaut, à savoir "GitHub CLI", appuie sur `Enter`.
238238

239239
Tu obtiendras le résultat suivant :
240240

macos.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -243,25 +243,25 @@ In this section, we will use [GitHub CLI](https://cli.github.com/) to interact w
243243

244244
It should already be installed on your computer from the previous commands.
245245

246+
We will use the GitHub CLI (`gh`) to connect to GitHub using *SSH*, a protocol to log in using SSH keys instead of the well known username/password pair.
247+
246248
First in order to **login**, copy-paste the following command in your terminal:
247249

248250
:warning: **DO NOT edit the `email`**
249251

250252
```bash
251-
gh auth login -s 'user:email' -w
253+
gh auth login -s 'user:email' -w --git-protocol ssh
252254
```
253255

254-
gh will ask you few questions:
255-
256-
`What is your preferred protocol for Git operations?` With the arrows, choose `SSH` and press `Enter`. SSH is a protocol to log in using SSH keys instead of the well known username/password pair.
256+
`gh` will ask you few questions:
257257

258-
`Generate a new SSH key to add to your GitHub account?` Press `Enter` to ask gh to generate the SSH keys for you.
258+
- `Generate a new SSH key to add to your GitHub account?` Press `Enter` to ask gh to generate the SSH keys for you.
259259

260-
If you already have SSH keys, you will see instead `Upload your SSH public key to your GitHub account?` With the arrows, select your public key file path and press `Enter`.
260+
If you already have SSH keys, you will see instead `Upload your SSH public key to your GitHub account?` With the arrows, select your public key file path and press `Enter`.
261261

262-
`Enter a passphrase for your new SSH key (Optional)`. Type something you want and that you'll remember. It's a password to protect your private key stored on your hard drive. Then press `Enter`.
262+
- `Enter a passphrase for your new SSH key (Optional)`. Type something you want and that you'll remember. It's a password to protect your private key stored on your hard drive. Then press `Enter`.
263263

264-
`Title for your SSH key`. You can leave it at the proposed "GitHub CLI", press `Enter`.
264+
- `Title for your SSH key`. You can leave it at the proposed "GitHub CLI", press `Enter`.
265265

266266
You will then get the following output:
267267

macos.pt.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -241,27 +241,28 @@ CLI é o acrônimo de [Interface de linha de comando](https://en.wikipedia.org/w
241241

242242
Nesta seção, usaremos [GitHub CLI](https://cli.github.com/) para interagir com o GitHub diretamente do terminal.
243243

244+
Usaremos o GitHub CLI (`gh`) para conectar ao GitHub usando *SSH*, um protocolo para fazer login usando chaves SSH em vez do conhecido par nome de usuário/senha.
245+
246+
244247
Ele já deve estar instalado no seu computador a partir dos comandos anteriores.
245248

246249
Primeiro, para **fazer login**, copie e cole o seguinte comando em seu terminal:
247250

248251
:warning: **NÃO edite o `email`**
249252

250253
```bash
251-
gh auth login -s 'user:email' -w
254+
gh auth login -s 'user:email' -w --git-protocol ssh
252255
```
253256

254257
`gh` fará algumas perguntas:
255258

256-
`What is your preferred protocol for Git operations?` Com as setas, escolha `SSH` e pressione `Enter`. SSH é um protocolo para fazer login usando chaves SSH em vez do conhecido par nome de usuário/senha.
257-
258-
`Generate a new SSH key to add to your GitHub account?` Pressione `Enter` para pedir ao gh para gerar as chaves SSH para você.
259+
- `Generate a new SSH key to add to your GitHub account?` Pressione `Enter` para pedir ao gh para gerar as chaves SSH para você.
259260

260-
Se você já possui chaves SSH, verá `Upload your SSH public key to your GitHub account?` Com as setas, selecione o caminho do arquivo de sua chave pública e pressione `Enter`.
261+
Se você já possui chaves SSH, verá `Upload your SSH public key to your GitHub account?` Com as setas, selecione o caminho do arquivo de sua chave pública e pressione `Enter`.
261262

262-
`Enter a passphrase for your new SSH key (Optional)`. Digite algo que você deseja e que você lembrará. É uma senha para proteger sua chave privada armazenada no disco rígido. Em seguida, pressione `Enter`.
263+
- `Enter a passphrase for your new SSH key (Optional)`. Digite algo que você deseja e que você lembrará. É uma senha para proteger sua chave privada armazenada no disco rígido. Em seguida, pressione `Enter`.
263264

264-
`Title for your SSH key`. Você pode deixá-lo no "GitHub CLI" proposto, pressione `Enter`.
265+
- `Title for your SSH key`. Você pode deixá-lo no "GitHub CLI" proposto, pressione `Enter`.
265266

266267
Você obterá então a seguinte saída:
267268

ubuntu.cn.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -166,20 +166,18 @@ CLI是[Command-line Interface(命令行界面)](https://baike.baidu.com/item
166166
:warning: **不要更改下面指令中的`email`**
167167

168168
```bash
169-
gh auth login -s 'user:email' -w
169+
gh auth login -s 'user:email' -w --git-protocol ssh
170170
```
171171

172-
gh会问你几个问题
172+
`gh`会问你几个问题
173173

174-
`What is your preferred protocol for Git operations?(你要用什么协议来执行Git操作?)` 让箭头`>`停在`SSH`前面,然后敲击回车。SSH使用SSH密钥来登陆用户,而不是用用户名和密码
174+
- `Generate a new SSH key to add to your GitHub account?(生成新的SSH密钥,然后添加到Github账号上?)` 敲击回车,让gh帮你生成
175175

176-
`Generate a new SSH key to add to your GitHub account?(生成新的SSH密钥,然后添加到Github账号上?)` 敲击回车,让gh帮你生成
176+
如果你以前生成过SSH密钥,那你就会看到这个问题`Upload your SSH public key to your GitHub account?(上传公共密钥到Github账户上上吗?)` 上下移动箭头`>`,让它停在你想选的SSH公钥前面,然后敲击回车
177177

178-
如果你以前生成过SSH密钥,那你就会看到这个问题`Upload your SSH public key to your GitHub account?(上传公共密钥到Github账户上上吗?)` 上下移动箭头`>`,让它停在你想选的SSH公钥前面,然后敲击回车。
178+
- `Enter a passphrase for your new SSH key (Optional)(输入新的SSH密钥的密码(非必填))`. 输入一个密码,然后写下来或者记住它。这是保护你本地私钥的密码。然后敲击回车。
179179

180-
`Enter a passphrase for your new SSH key (Optional)(输入新的SSH密钥的密码(非必填))`. 输入一个密码,然后写下来或者记住它。这是保护你本地私钥的密码。然后敲击回车。
181-
182-
`Title for your SSH key`。你可以把它留在建议的 "GitHub CLI",按`Enter`
180+
- `Title for your SSH key`。你可以把它留在建议的 "GitHub CLI",按`Enter`
183181

184182
然后你会看到下面的文字输出:
185183

ubuntu.es.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -176,27 +176,27 @@ CLI es una abreviación de [Command-line Interface](https://en.wikipedia.org/wik
176176

177177
En esta sección usaremos [GitHub CLI](https://cli.github.com/) para interactuar directamente con GitHub desde la terminal.
178178

179+
Usaremos la GitHub CLI (`gh`) para conectarnos a GitHub utilizando *SSH*, un protocolo para iniciar la sesión utilizando claves SSH en lugar de la famosa pareja nombre de usuario y contraseña.
180+
179181
Ya debería haberse instalado en tu computadora con los comandos que ejecutaste anteriormente.
180182

181183
Lo primero que hay que hacer para **iniciar sesión** es copiar y pegar el comando siguiente en tu terminal:
182184

183185
:warning: **NO edites el `email`**
184186

185187
```bash
186-
gh auth login -s 'user:email' -w
188+
gh auth login -s 'user:email' -w --git-protocol ssh
187189
```
188190

189-
gh le hará algunas preguntas:
190-
191-
`What is your preferred protocol for Git operations?` Con las flechas, elige `SSH` y presiona `Enter`. SSH es un protocolo para iniciar la sesión utilizando claves SSH en lugar de la famosa pareja nombre de usuario y contraseña.
191+
`gh` le hará algunas preguntas:
192192

193-
`Generate a new SSH key to add to your GitHub account?` Presiona `Enter` para pedirle a gh que genere las claves SSH por ti.
193+
- `Generate a new SSH key to add to your GitHub account?` Presiona `Enter` para pedirle a gh que genere las claves SSH por ti.
194194

195-
Si ya tienes claves SSH, verás en su lugar `Upload your SSH public key to your GitHub account?`Con las flechas, selecciona la ruta de tu archivo de clave pública y pulsa `Intro`.
195+
Si ya tienes claves SSH, verás en su lugar `Upload your SSH public key to your GitHub account?`Con las flechas, selecciona la ruta de tu archivo de clave pública y pulsa `Intro`.
196196

197-
`Enter a passphrase for your new SSH key (Optional)`. Pon algo que quieras y que recuerdes. Es una contraseña para proteger tu private key que está almacenada en tu disco duro. Luego presiona `Enter`.
197+
- `Enter a passphrase for your new SSH key (Optional)`. Pon algo que quieras y que recuerdes. Es una contraseña para proteger tu private key que está almacenada en tu disco duro. Luego presiona `Enter`.
198198

199-
`Title for your SSH key`. Puede dejarlo en la propuesta "GitHub CLI", presiona `Enter`.
199+
- `Title for your SSH key`. Puede dejarlo en la propuesta "GitHub CLI", presiona `Enter`.
200200

201201
Obtendrás el siguiente resultado:
202202

ubuntu.fr.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -175,27 +175,27 @@ CLI est l’acronyme de [Command-line Interface](https://en.wikipedia.org/wiki/C
175175

176176
Dans cette section, tu vas installer [GitHub CLI](https://cli.github.com/) pour interagir avec GitHub directement depuis le terminal.
177177

178+
Nous allons utiliser GitHub CLI (`gh`) pour nous connecter à GitHub en utilisant *SSH*, un protocole pour s'authentifier en utilisant des clés SSH au lieu de la fameuse paire nom d'utilisateur et mot de passe.
179+
178180
Elle doit déjà être installée sur ton ordinateur grâce aux commandes précédentes.
179181

180182
Pour **te connecter**, commence par copier-coller la commande suivante dans ton terminal :
181183

182184
:warning: **NE modifie PAS `email`**
183185

184186
```bash
185-
gh auth login -s 'user:email' -w
187+
gh auth login -s 'user:email' -w --git-protocol ssh
186188
```
187189

188-
gh va te poser quelques questions :
189-
190-
`What is your preferred protocol for Git operations?` Avec les flèches, choisis `SSH` et appuie sur `Enter`. SSH est un protocole pour s'authentifier en utilisant des clés SSH au lieu de la fameuse paire nom d'utilisateur et mot de passe.
190+
`gh` va te poser quelques questions :
191191

192-
`Generate a new SSH key to add to your GitHub account?` Appuie sur `Enter` pour demander à gh de générer les clés SSH pour toi.
192+
- `Generate a new SSH key to add to your GitHub account?` Appuie sur `Enter` pour demander à gh de générer les clés SSH pour toi.
193193

194-
Si tu as déjà des clés SSH, tu verras à la place `Upload your SSH public key to your GitHub account?` Avec les flèches, sélectionne le chemain de ta clé publique et appuie sur `Enter`.
194+
Si tu as déjà des clés SSH, tu verras à la place `Upload your SSH public key to your GitHub account?` Avec les flèches, sélectionne le chemain de ta clé publique et appuie sur `Enter`.
195195

196-
`Enter a passphrase for your new SSH key (Optional)`. Saisis un mot de passe dont tu te souviendras. Ce mot de passe sert à protéger ta clé privée enregistrée sur ton disque sur. Ensuite, appuie sur `Enter`.
196+
- `Enter a passphrase for your new SSH key (Optional)`. Saisis un mot de passe dont tu te souviendras. Ce mot de passe sert à protéger ta clé privée enregistrée sur ton disque sur. Ensuite, appuie sur `Enter`.
197197

198-
`Title for your SSH key`. Tu peux laisser ce qui est proposé par défaut, à savoir "GitHub CLI", appuie sur `Enter`.
198+
- `Title for your SSH key`. Tu peux laisser ce qui est proposé par défaut, à savoir "GitHub CLI", appuie sur `Enter`.
199199

200200
Tu obtiendras le résultat suivant :
201201

ubuntu.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -207,25 +207,25 @@ In this section, we will use [GitHub CLI](https://cli.github.com/) to interact w
207207

208208
It should already be installed on your computer from the previous commands.
209209

210+
We will use the GitHub CLI (`gh`) to connect to GitHub using *SSH*, a protocol to log in using SSH keys instead of the well known username/password pair.
211+
210212
First in order to **login**, copy-paste the following command in your terminal:
211213

212214
:warning: **DO NOT edit the `email`**
213215

214216
```bash
215-
gh auth login -s 'user:email' -w
217+
gh auth login -s 'user:email' -w --git-protocol ssh
216218
```
217219

218-
gh will ask you few questions:
219-
220-
`What is your preferred protocol for Git operations?` With the arrows, choose `SSH` and press `Enter`. SSH is a protocol to log in using SSH keys instead of the well known username/password pair.
220+
`gh` will ask you few questions:
221221

222-
`Generate a new SSH key to add to your GitHub account?` Press `Enter` to ask gh to generate the SSH keys for you.
222+
- `Generate a new SSH key to add to your GitHub account?` Press `Enter` to ask gh to generate the SSH keys for you.
223223

224-
If you already have SSH keys, you will see instead `Upload your SSH public key to your GitHub account?` With the arrows, select your public key file path and press `Enter`.
224+
If you already have SSH keys, you will see instead `Upload your SSH public key to your GitHub account?` With the arrows, select your public key file path and press `Enter`.
225225

226-
`Enter a passphrase for your new SSH key (Optional)`. Type something you want and that you'll remember. It's a password to protect your private key stored on your hard drive. Then press `Enter`.
226+
- `Enter a passphrase for your new SSH key (Optional)`. Type something you want and that you'll remember. It's a password to protect your private key stored on your hard drive. Then press `Enter`.
227227

228-
`Title for your SSH key`. You can leave it at the proposed "GitHub CLI", press `Enter`.
228+
- `Title for your SSH key`. You can leave it at the proposed "GitHub CLI", press `Enter`.
229229

230230
You will then get the following output:
231231

0 commit comments

Comments
 (0)