git命令 怎么上传一个网页

下载 git clone git@IP:/XX/XX/XX.git
拉取最新文件 git pull origin master
列出分支 git branch
建立分支 git branch new_master
切换分支 git checkout new_master
添加 git add .
提交 git commit -m 'info'
提交远程分支 git push origin new_master
查看未提交的修改文件 git status
查看提交了的修改文件 git show --stat
查看提交文件修改内容 git diff head -- filepathnamehtml

https://www.cnblogs.com/lijiayi/p/githubpages.htmlgit

相关文章
相关标签/搜索