diff --git a/gitea/gitea-https-push.md b/gitea/gitea-https-push.md index 40ee43e..c056fc0 100644 --- a/gitea/gitea-https-push.md +++ b/gitea/gitea-https-push.md @@ -1,2 +1,12 @@ # 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 diff --git a/gitea/https-push.md b/gitea/https-push.md new file mode 100644 index 0000000..c056fc0 --- /dev/null +++ b/gitea/https-push.md @@ -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