📜  git pull 如果存在并克隆 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:49:40.895000             🧑  作者: Mango

代码示例1
if cd repo; then git pull; else git clone https://server/repo repo; fi