From bf7347380207d80183ce80ae6547ef08fa579c6a Mon Sep 17 00:00:00 2001 From: Polesznyák Márk Date: Sat, 29 Nov 2025 01:45:07 +0100 Subject: feat: add scripts, TARGET variable for Makefile --- scripts/origin | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 scripts/origin (limited to 'scripts/origin') diff --git a/scripts/origin b/scripts/origin new file mode 100755 index 0000000..ae67999 --- /dev/null +++ b/scripts/origin @@ -0,0 +1,12 @@ +#!/bin/sh +dir=${PWD##*/} +dir=${dir:-/} + +git remote add origin git@git.sr.ht:~pml68/"$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}" -- cgit v1.2.3