git的基本使用方法

2025-05-17 21:04:55
推荐回答(1个)
回答1:

  1. cd 本地的某个目录 例如D:/testRepo

  2. git clone username@服务器地址:/服务器上git仓库地址 testRepo

  3. cd D:

  4. cd /testRepo

  5. 编辑保存代码 例如文件名为 testFile.f90

  6. git add testFile.f90

  7. git commit -m "I made some changes here, hahaha!!!"

  8. git push