This commit is contained in:
24
Technical/Server/Gitea.md
Executable file
24
Technical/Server/Gitea.md
Executable file
@@ -0,0 +1,24 @@
|
||||
---
|
||||
note type:
|
||||
- server
|
||||
- note
|
||||
date: 2026-06-03
|
||||
done: true
|
||||
---
|
||||
In order to connect to the gitea server and run git commands, you will need to do the following:
|
||||
|
||||
Run `cat ~/.ssh/id_ed25519.pub`
|
||||
|
||||
Copy that key and add it to the ssh keys in gitea
|
||||
|
||||
`ssh-keygen -t ed25519 -C "windows-gitea"`
|
||||
|
||||
`ssh -T -p 222 git@192.168.0.241`
|
||||
|
||||
Check the remote url of the git project.
|
||||
|
||||
`git remote -v`
|
||||
|
||||
Change it to:
|
||||
|
||||
`git remote set-url origin git@`
|
||||
Reference in New Issue
Block a user