aboutsummaryrefslogtreecommitdiff
path: root/scripts/origin
diff options
context:
space:
mode:
authorPolesznyák Márk <contact@pml68.dev>2026-03-24 09:04:13 +0100
committerPolesznyák Márk <contact@pml68.dev>2026-03-24 09:05:30 +0100
commitbb4098d74a7f0946c685fe216daf78d3f2784643 (patch)
tree8093357dc876c231a3747ee03c17d17f0e9ba9f7 /scripts/origin
parentfeat(newsboat): remove Drew DeVault's blog (diff)
downloaddotfiles-bb4098d74a7f0946c685fe216daf78d3f2784643.tar.gz
feat: move from sourcehut to my git instanceHEADmaster
Diffstat (limited to '')
-rwxr-xr-xscripts/origin4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/origin b/scripts/origin
index ae67999..21c47d7 100755
--- a/scripts/origin
+++ b/scripts/origin
@@ -2,11 +2,11 @@
dir=${PWD##*/}
dir=${dir:-/}
-git remote add origin git@git.sr.ht:~pml68/"$dir"
+ssh git@server create "$dir"
+git remote add origin git@git.pml68.dev:repos/"$dir"
echo "* text=auto eol=lf
# Older git versions try to fix line endings on images, this prevents it.
*.png binary
*.jpg binary
*.ico binary" > .gitattributes
-git config --add push.pushOption visibility="${1:-public}"