blob: 21c47d7dcff45d6dffdc06260b7bee4234c960a4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/sh
dir=${PWD##*/}
dir=${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
|