mirror of
https://github.com/sahinakkaya/til.git
synced 2024-12-22 23:29:37 +01:00
8 lines
377 B
Markdown
8 lines
377 B
Markdown
You can clone a repository with ssh and pull/push without having to enter your credentials. If you already cloned it with https and want to change your remote url, do this:
|
||
```bash
|
||
❯ git remote -v
|
||
origin https://github.com/Asocia/dotfiles.git (fetch)
|
||
origin https://github.com/Asocia/dotfiles.git (push)
|
||
❯ git remote set-url origin git@github.com:Asocia/dotfiles.git
|
||
```
|