Closed dusunax closed 2 months ago
sub-docs
as a submodule of blog
. In the blog
repository:git submodule add https://github.com/dusunax/javascript sub-docs
git submodule update --init --recursive
git submodule status
const syncRun = async () => {
const gitUrl = "https://github.com/dusunax/javascript.git";
await runBashCommand(`
if [ -d "${contentDir}" ];
then
cd "${contentDir}"; git pull;
else
git clone --depth 1 --signle-branch ${gitUrl} ${contentDir};
fi
`);
}
await runBashCommand("git submodule update --remote;");
서브모듈을 추가했습니다.
must fix!
in development
when deployed