updated readme
This commit is contained in:
parent
7f99a8a4aa
commit
90aa569f1e
36
README.md
36
README.md
@ -2,14 +2,48 @@
|
||||
|
||||
Getting started with Git
|
||||
|
||||
## I recommendd WSL if using Windows. If using mac you already have terminal
|
||||
|
||||
There are GUIs for Git, but I have no experience with them.
|
||||
|
||||
---
|
||||
|
||||
Installing WSL: (HERE)[https://docs.microsoft.com/en-us/windows/wsl/install-win10]
|
||||
|
||||
---
|
||||
|
||||
Create SSH Key
|
||||
|
||||
```ssh-keytgen```
|
||||
|
||||
---
|
||||
|
||||
Get SSH public key
|
||||
|
||||
```cat ~/.ssh/id_rsa.pub```
|
||||
|
||||
---
|
||||
|
||||
Add key to gitea
|
||||
|
||||
TBC...
|
||||
1. User profile in upper right hand corner
|
||||
|
||||
2. Settings
|
||||
|
||||
3. SSH/GPG Keys
|
||||
|
||||
4. Manage SSH Keys -> Add Key (to the right)
|
||||
|
||||
5. Paste whole key in Content, this should add the SSH Key Name in the name field
|
||||
|
||||
---
|
||||
|
||||
Now you can do the git stuff
|
||||
|
||||
1. ```git add NEW_FILE```
|
||||
|
||||
2. ```git commit -m 'ADD INFO HERE OF WHAT WAS CHANGED/ADDED'```
|
||||
|
||||
3. ```git push```
|
||||
|
||||
## Your updates will now be pushed, if there's a pipline it might take a while 10/15mins for the update to be shown
|
||||
|
Loading…
x
Reference in New Issue
Block a user