2024-11-12 20:45:48 +08:00
2024-11-12 00:07:46 +08:00
2024-11-12 00:07:46 +08:00
2024-11-12 20:45:48 +08:00
2024-11-12 00:07:46 +08:00
2024-11-12 14:14:28 +08:00
2024-11-12 00:07:46 +08:00
2024-11-12 00:07:46 +08:00
2024-11-12 00:07:46 +08:00
2024-11-12 00:07:46 +08:00
2024-11-12 00:07:46 +08:00
2024-11-12 00:07:46 +08:00
2024-11-12 00:07:46 +08:00
2024-11-12 00:07:46 +08:00
2024-11-12 00:07:46 +08:00
2024-11-12 00:07:46 +08:00
2024-11-12 00:07:46 +08:00
2024-11-12 00:07:46 +08:00
2024-11-12 00:07:46 +08:00

shellscripts

Getting started

克隆的时候需要添加子仓库

git clone --recurse-submodules https://gitlab.dockless.eu.org/lingyuzeng/micromamba.git

用户认证说明

安装用户是可以使用的其他用户不一定能使用jupyterhub服务。

更新micromamba子仓库

因为 micromamba 是作为一个子模块submodule包含在你的 shellscripts 仓库中。因此,不能直接在父仓库中修改子模块的内容。你需要在子模块的仓库中进行更改,然后更新父仓库以指向子模块的新提交。以下是操作步骤:

进入子模块目录:首先,进入子模块(在这个案例中是 micromamba的目录。

cd micromamba

检查当前分支:确保你在正确的分支上进行更改。

git branch

如果需要,切换到适当的分支:

git checkout <branch-name>

修改文件:进行所需的更改

提交更改:添加并提交更改到子模块的仓库。

git add ./install.sh
git commit -m "更新 函数"

推送更改:将更改推送到远程子模块仓库。

git push origin <branch-name>

返回父仓库目录:一旦子模块的更改被推送,返回到父仓库的目录。

cd ..

更新子模块引用:在父仓库中更新子模块引用,以指向子模块的新提交。

git add micromamba
git commit -m "更新子模块 micromamba"

推送父仓库更改:最后,将父仓库的更改推送到远程仓库。

git push origin <branch-name>
Description
No description provided
Readme 68 KiB
Languages
Shell 98.7%
PowerShell 1.3%