![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
前端
stephen--zhu
人可以被毁灭,但不可被征服.
展开
-
git常用指令
常用操作touch .gitignore 生成“.gitignore”文件。git status 查看仓库的状态git diff 查看工作树、暂存区、最新提交之间的差别。git log --graph 以图表形式查看分支基本操作git init 初始化仓库git add 向暂存区中添加文件git commit 保存仓库的历史记录git commit -m "...原创 2018-05-09 16:52:27 · 177 阅读 · 0 评论 -
webstorm 推送项目到github
1.在github中建立对应仓库。webstorm会建立连接,在github中建立对应的仓库。根据提示,会执行commit,以及push。然而,webstorm默认使用的是ssh连接。push失败。因此,执行第二步,设置remotes为https格式。2.添加远程仓库https格式在为:https://github.com/lven/es6.git设置webstorm的gitRemotes为htt...原创 2018-05-09 17:12:34 · 2385 阅读 · 0 评论