Update HTTPS Push
This commit is contained in:
@@ -1,2 +1,12 @@
|
|||||||
# Push to gitea using a PAT through HTTPS
|
# Push to gitea using a PAT through HTTPS
|
||||||
## linux credential helper store(?)
|
## Create PAT
|
||||||
|
1. Go to user profile > Settings
|
||||||
|
0. Go to Applications and click 'Generate New Token'
|
||||||
|
0. Give token name
|
||||||
|
0. Set rw permissions for repo
|
||||||
|
|
||||||
|
## Set git to store PAT
|
||||||
|
`git config --global credential.helper store`
|
||||||
|
|
||||||
|
## Push
|
||||||
|
git push
|
||||||
|
|||||||
12
gitea/https-push.md
Normal file
12
gitea/https-push.md
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
# Push to gitea using a PAT through HTTPS
|
||||||
|
## Create PAT
|
||||||
|
1. Go to user profile > Settings
|
||||||
|
0. Go to Applications and click 'Generate New Token'
|
||||||
|
0. Give token name
|
||||||
|
0. Set rw permissions for repo
|
||||||
|
|
||||||
|
## Set git to store PAT
|
||||||
|
`git config --global credential.helper store`
|
||||||
|
|
||||||
|
## Push
|
||||||
|
git push
|
||||||
Reference in New Issue
Block a user