about summary refs log tree commit diff stats
path: root/home-manager/packages/scripts/deprecated/git-init
blob: fd1f5399360f59c00e4b5d93d8c28e2fbe49ea99 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
# shellcheck disable=SC2086
# shellcheck source=/dev/null
. ~/.local/lib/shell/lib

cp -R $HOME/.local/share/git-template/* "$(pwd)"
[ -d ./.git ] || git init



if [ -d /tmp/LIB_FILE_TEMP_DIR/ ];then rm -r /tmp/LIB_FILE_TEMP_DIR/; fi