Skip to content

📜 Git 与脚本自动化

Git 版本管理

  • git init: 初始化仓库。
  • git clone: 克隆仓库。
  • git add / git commit: 提交更改。
  • git push / git pull: 远程同步。
  • git branch / git checkout: 分支管理。

脚本语言

除了 Shell,运维常用的脚本语言:

  • Python: 库丰富,适合复杂逻辑和调用 API。
  • Perl: 文本处理能力极强 (早期运维最爱)。

Released under the MIT License.