工作中用到的 git 命令 dos
博客链接123456789101112131415161718192021222324252627282930313233github创建静态页面发布静态页面1查看远程分支git branch -va2切换远程分支git checkout -t origin/gh-pages3发布静态网页add -> commit -> push-----------------------------1查看当前分支git branch* gh-pages2添加文件到库中git commit -a -m "first commit"3提交代码到远程分支git push origin gh-pages----------------------------- 创建文件夹 git init git add README.md git remote add origin https://git.coding.net/BlankCat/elephant-blog-api.git git push -u origin master第二次git add *git commit -m “zjf”git push