Git提交本地文件
2,075 views
一、提交本地文件到远程
# 打开到本地目录
cd /home/dufei
# 当前文件夹下所有内容都新增
git add .
# 提交新增文件,并添加注释
git commit -m 'update local file'
git push origin master
二、远程文件更新本地
git pull
加载中...
# 打开到本地目录
cd /home/dufei
# 当前文件夹下所有内容都新增
git add .
# 提交新增文件,并添加注释
git commit -m 'update local file'
git push origin master
git pull
Follow DataLearner WeChat for the latest AI updates
