13 lines
281 B
Markdown
13 lines
281 B
Markdown
# 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
|