From 21704cab65e0868e9a7c43e314e65261d40fc810 Mon Sep 17 00:00:00 2001 From: Jonathan Agmon Date: Sun, 22 Mar 2026 22:14:43 +0200 Subject: [PATCH] Update HTTPS Push --- gitea/gitea-https-push.md | 12 +++++++++++- gitea/https-push.md | 12 ++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 gitea/https-push.md 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