mirror of
https://github.com/privacyguides/i18n.git
synced 2025-07-01 06:32:39 +00:00
New Crowdin translations by GitHub Action
This commit is contained in:
@ -14,14 +14,9 @@ title: توصیههای Git
|
||||
git config --global gpg.format ssh
|
||||
git config --global tag.gpgSign true
|
||||
```
|
||||
2. کلید عمومی SSH خود را در کلیپ بورد خود کپی کنید، به عنوان مثال:
|
||||
2. Set your SSH key for signing in Git with the following command, substituting `/PATH/TO/.SSH/KEY.PUB` with the path to the public key you'd like to use, e.g. `/home/user/.ssh/id_ed25519.pub`:
|
||||
```
|
||||
pbcopy < ~/.ssh/id_ed25519.pub
|
||||
# Copies the contents of the id_ed25519.pub file to your clipboard
|
||||
```
|
||||
3. کلید SSH خود را برای ورود به Git با دستور زیر تنظیم کنید و آخرین رشته در نقل قول را با کلید عمومی در کلیپ بورد خود جایگزین کنید:
|
||||
```
|
||||
git config --global user.signingkey 'ssh-ed25519 AAAAC3(...) user@example.com'
|
||||
git config --global user.signingkey /PATH/TO/.SSH/KEY.PUB
|
||||
```
|
||||
|
||||
مطمئن شوید که [ کلید خصوصی خود را به اکانت GitHub اضافه کنید](https://docs.github.com/en/authentication/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account#adding-a-new-ssh-key-to-your-account) **به عنوان کلید امضا شده** (برخلاف یا علاوه بر آن به عنوان یک کلید احراز هویت).
|
||||
|
Reference in New Issue
Block a user