【GIT常用命令】
查看当前git库状态:git status
从服务器同步代码到本地代码库:git pull
添加/更新代码库文件:git add .
提交代码更新:git commit -m ‘some comments’
上传代码到服务器:git push
查看代码差异:git diff /path/to/file
GIT常用命令
最新推荐文章于 2023-05-17 22:28:20 发布
【GIT常用命令】
查看当前git库状态:git status
从服务器同步代码到本地代码库:git pull
添加/更新代码库文件:git add .
提交代码更新:git commit -m ‘some comments’
上传代码到服务器:git push
查看代码差异:git diff /path/to/file