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 √√√ 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=">>> "
|
set /p IGNOREPATH=">>> "
|
||||||
echo;
|
echo;
|
||||||
if "" == "%IGNOREPATH%" (
|
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 (
|
) else (
|
||||||
for %P in (%IGNOREPATH%) do set "IGNOREPATH=%~dpnxP/.gitignore.global.txt"
|
for %P in (%IGNOREPATH%) do set "IGNOREPATH=%~dpnxP/.gitignore.global.txt"
|
||||||
if not exist "%IGNOREPATH%" (
|
if not exist "%IGNOREPATH%" (
|
||||||
|
@ -26,7 +26,7 @@ else
|
|||||||
fi
|
fi
|
||||||
echo ""
|
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
|
read -p "***:: " IGNOREPATH
|
||||||
if [ "$IGNOREPATH" ]
|
if [ "$IGNOREPATH" ]
|
||||||
then
|
then
|
||||||
@ -42,7 +42,7 @@ then
|
|||||||
echo "√√√ IGNOREPATH = [[$IGNOREPATH]]"
|
echo "√√√ IGNOREPATH = [[$IGNOREPATH]]"
|
||||||
fi
|
fi
|
||||||
else
|
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
|
fi
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
echo ::*** Merge remote [.gitignore.global.txt] and local [.gitignore.local.txt] to [.gitignore]
|
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;
|
if [ -f .gitignore.local.txt ]; then cat .gitignore.local.txt >> .gitignore; fi;
|
||||||
echo
|
echo
|
||||||
|
@ -37,7 +37,7 @@ for /d %%o in (*) do (
|
|||||||
pushd %%g
|
pushd %%g
|
||||||
@REM echo changing repo url
|
@REM echo changing repo url
|
||||||
@REM git remote remove origin
|
@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 pull
|
||||||
@REM git branch --set-upstream-to=origin/main main
|
@REM git branch --set-upstream-to=origin/main main
|
||||||
@REM git pull
|
@REM git pull
|
||||||
|
@ -46,7 +46,7 @@ do
|
|||||||
cd "$repo"
|
cd "$repo"
|
||||||
# echo " changing repo url to [[$ROOTPATH/$org/$repo]]"
|
# echo " changing repo url to [[$ROOTPATH/$org/$repo]]"
|
||||||
# git remote remove origin
|
# 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 pull
|
||||||
# git branch --set-upstream-to=origin/main main
|
# git branch --set-upstream-to=origin/main main
|
||||||
# git pull
|
# git pull
|
||||||
|
@ -53,7 +53,7 @@ if [ -d "$HomePath" ]; then
|
|||||||
echo "--- Copying [[$NIXHOME/$homescript]] to [[$HomePath/$homescript]] ..."
|
echo "--- Copying [[$NIXHOME/$homescript]] to [[$HomePath/$homescript]] ..."
|
||||||
cp -r "$NIXHOME/$homescript" ./
|
cp -r "$NIXHOME/$homescript" ./
|
||||||
elif [ "$CopyOrLinkScripts" == 'g' ]; then
|
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
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -23,11 +23,11 @@ if not exist "%ROOTPATH%" (
|
|||||||
echo √√√ ROOTPATH = [[%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=">>> "
|
set /p IGNOREPATH=">>> "
|
||||||
echo;
|
echo;
|
||||||
if "" == "%IGNOREPATH%" (
|
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 (
|
) else (
|
||||||
for %P in (%IGNOREPATH%) do set "IGNOREPATH=%~dpnxP/seafile-ignore.global.txt"
|
for %P in (%IGNOREPATH%) do set "IGNOREPATH=%~dpnxP/seafile-ignore.global.txt"
|
||||||
if not exist "%IGNOREPATH%" (
|
if not exist "%IGNOREPATH%" (
|
||||||
|
@ -26,7 +26,7 @@ else
|
|||||||
fi
|
fi
|
||||||
echo ""
|
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
|
read -p "***:: " IGNOREPATH
|
||||||
if [ "$IGNOREPATH" ]
|
if [ "$IGNOREPATH" ]
|
||||||
then
|
then
|
||||||
@ -42,7 +42,7 @@ then
|
|||||||
echo "√√√ IGNOREPATH = [[$IGNOREPATH]]"
|
echo "√√√ IGNOREPATH = [[$IGNOREPATH]]"
|
||||||
fi
|
fi
|
||||||
else
|
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
|
fi
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
echo ::*** Merge remote [seafile-ignore.global.txt] and local [seafile-ignore.local.txt] to [seafile-ignore.txt]
|
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
|
if [ -f seafile-ignore.local.txt ]; then cat seafile-ignore.local.txt >> seafile-ignore.txt; fi
|
||||||
echo
|
echo
|
||||||
|
Loading…
Reference in New Issue
Block a user