tangled
alpha
login
or
join now
treybastian.com
/
scripts
various scripts I use to make my life easier
0
fork
atom
overview
issues
pulls
pipelines
fixed escaping vars
treybastian.com
3 months ago
ed67aeee
ecc5e73c
+4
-1
1 changed file
expand all
collapse all
unified
split
post-receive
+4
-1
post-receive
···
23
23
}
24
24
25
25
# make sure the sync occurs in the background
26
26
-
nohub bash -c " it push --mirror "$REPO_URL" >> "$LOGFILE" 2>&1" > /dev/nul 2>&1 &
26
26
+
nohup bash -c "
27
27
+
cd \"$REPO_PATH\" || exit 1
28
28
+
git push --mirror \"$REPO_URL\" >> \"$LOGFILE\" 2>&1
29
29
+
" > /dev/nul 2>&1 &
27
30
28
31
# vim: filetype=sh
29
32