change git.faronear.org
to git.tic.cc
This commit is contained in:
parent
d1a953c25c
commit
26a245c81c
@ -23,11 +23,11 @@ if not exist "%ROOTPATH%" (
|
||||
echo √√√ ROOTPATH = [[%ROOTPATH%]]
|
||||
)
|
||||
|
||||
echo ::*** Enter [path to .gitignore.global.txt] or [leave blank] for default [[https://git.faronear.org/npm/sysconfig/raw/branch/main/nixhome/.gitignore.global.txt]]
|
||||
echo ::*** Enter [path to .gitignore.global.txt] or [leave blank] for default [[https://git.tic.cc/npm/sysconfig/raw/branch/main/nixhome/.gitignore.global.txt]]
|
||||
set /p IGNOREPATH=">>> "
|
||||
echo;
|
||||
if "" == "%IGNOREPATH%" (
|
||||
set IGNOREPATH=https://git.faronear.org/npm/sysconfig/raw/branch/main/nixhome/.gitignore.global.txt
|
||||
set IGNOREPATH=https://git.tic.cc/npm/sysconfig/raw/branch/main/nixhome/.gitignore.global.txt
|
||||
) else (
|
||||
for %P in (%IGNOREPATH%) do set "IGNOREPATH=%~dpnxP/.gitignore.global.txt"
|
||||
if not exist "%IGNOREPATH%" (
|
||||
|
@ -26,7 +26,7 @@ else
|
||||
fi
|
||||
echo ""
|
||||
|
||||
echo "::*** Enter [path to .gitignore.global.txt] or [leave blank] for default [[https://git.faronear.org/npm/sysconfig/raw/branch/main/nixhome/.gitignore.global.txt]]"
|
||||
echo "::*** Enter [path to .gitignore.global.txt] or [leave blank] for default [[https://git.tic.cc/npm/sysconfig/raw/branch/main/nixhome/.gitignore.global.txt]]"
|
||||
read -p "***:: " IGNOREPATH
|
||||
if [ "$IGNOREPATH" ]
|
||||
then
|
||||
@ -42,7 +42,7 @@ then
|
||||
echo "√√√ IGNOREPATH = [[$IGNOREPATH]]"
|
||||
fi
|
||||
else
|
||||
IGNOREPATH=https://git.faronear.org/npm/sysconfig/raw/branch/main/nixhome/.gitignore.global.txt
|
||||
IGNOREPATH=https://git.tic.cc/npm/sysconfig/raw/branch/main/nixhome/.gitignore.global.txt
|
||||
fi
|
||||
echo ""
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo ::*** Merge remote [.gitignore.global.txt] and local [.gitignore.local.txt] to [.gitignore]
|
||||
curl -sSL https://git.faronear.org/npm/sysconfig/raw/branch/main/nixhome/.gitignore.global.txt > .gitignore
|
||||
curl -sSL https://git.tic.cc/npm/sysconfig/raw/branch/main/nixhome/.gitignore.global.txt > .gitignore
|
||||
if [ -f .gitignore.local.txt ]; then cat .gitignore.local.txt >> .gitignore; fi;
|
||||
echo
|
||||
|
@ -37,7 +37,7 @@ for /d %%o in (*) do (
|
||||
pushd %%g
|
||||
@REM echo changing repo url
|
||||
@REM git remote remove origin
|
||||
@REM git remote add origin https://git.faronear.org/%%o/%%g
|
||||
@REM git remote add origin https://git.tic.cc/%%o/%%g
|
||||
@REM git pull
|
||||
@REM git branch --set-upstream-to=origin/main main
|
||||
@REM git pull
|
||||
|
@ -46,7 +46,7 @@ do
|
||||
cd "$repo"
|
||||
# echo " changing repo url to [[$ROOTPATH/$org/$repo]]"
|
||||
# git remote remove origin
|
||||
# git remote add origin https://git.faronear.org/$org/$repo
|
||||
# git remote add origin https://git.tic.cc/$org/$repo
|
||||
# git pull
|
||||
# git branch --set-upstream-to=origin/main main
|
||||
# git pull
|
||||
|
@ -53,7 +53,7 @@ if [ -d "$HomePath" ]; then
|
||||
echo "--- Copying [[$NIXHOME/$homescript]] to [[$HomePath/$homescript]] ..."
|
||||
cp -r "$NIXHOME/$homescript" ./
|
||||
elif [ "$CopyOrLinkScripts" == 'g' ]; then
|
||||
curl -sSLO "https://git.faronear.org/npm/sysconfig/raw/branch/main/nixhome/$homescript"
|
||||
curl -sSLO "https://git.tic.cc/npm/sysconfig/raw/branch/main/nixhome/$homescript"
|
||||
fi
|
||||
done
|
||||
|
||||
|
@ -23,11 +23,11 @@ if not exist "%ROOTPATH%" (
|
||||
echo √√√ ROOTPATH = [[%ROOTPATH%]]
|
||||
)
|
||||
|
||||
echo ::*** Enter [path to seafile-ignore.global.txt] or [leave blank] for default [[https://git.faronear.org/npm/sysconfig/raw/branch/main/nixhome/seafile-ignore.global.txt]]
|
||||
echo ::*** Enter [path to seafile-ignore.global.txt] or [leave blank] for default [[https://git.tic.cc/npm/sysconfig/raw/branch/main/nixhome/seafile-ignore.global.txt]]
|
||||
set /p IGNOREPATH=">>> "
|
||||
echo;
|
||||
if "" == "%IGNOREPATH%" (
|
||||
set IGNOREPATH=https://git.faronear.org/npm/sysconfig/raw/branch/main/nixhome/seafile-ignore.global.txt
|
||||
set IGNOREPATH=https://git.tic.cc/npm/sysconfig/raw/branch/main/nixhome/seafile-ignore.global.txt
|
||||
) else (
|
||||
for %P in (%IGNOREPATH%) do set "IGNOREPATH=%~dpnxP/seafile-ignore.global.txt"
|
||||
if not exist "%IGNOREPATH%" (
|
||||
|
@ -26,7 +26,7 @@ else
|
||||
fi
|
||||
echo ""
|
||||
|
||||
echo "::*** Enter [path to seafile-ignore.global.txt] or [leave blank] for default [[https://git.faronear.org/npm/sysconfig/raw/branch/main/nixhome/seafile-ignore.global.txt]]"
|
||||
echo "::*** Enter [path to seafile-ignore.global.txt] or [leave blank] for default [[https://git.tic.cc/npm/sysconfig/raw/branch/main/nixhome/seafile-ignore.global.txt]]"
|
||||
read -p "***:: " IGNOREPATH
|
||||
if [ "$IGNOREPATH" ]
|
||||
then
|
||||
@ -42,7 +42,7 @@ then
|
||||
echo "√√√ IGNOREPATH = [[$IGNOREPATH]]"
|
||||
fi
|
||||
else
|
||||
IGNOREPATH=https://git.faronear.org/npm/sysconfig/raw/branch/main/nixhome/seafile-ignore.global.txt
|
||||
IGNOREPATH=https://git.tic.cc/npm/sysconfig/raw/branch/main/nixhome/seafile-ignore.global.txt
|
||||
fi
|
||||
echo ""
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo ::*** Merge remote [seafile-ignore.global.txt] and local [seafile-ignore.local.txt] to [seafile-ignore.txt]
|
||||
curl -sSL https://git.faronear.org/npm/sysconfig/raw/branch/main/nixhome/seafile-ignore.global.txt > seafile-ignore.txt
|
||||
curl -sSL https://git.tic.cc/npm/sysconfig/raw/branch/main/nixhome/seafile-ignore.global.txt > seafile-ignore.txt
|
||||
if [ -f seafile-ignore.local.txt ]; then cat seafile-ignore.local.txt >> seafile-ignore.txt; fi
|
||||
echo
|
||||
|
Loading…
Reference in New Issue
Block a user