zoukankan      html  css  js  c++  java
  • git异常

    1.  SSL certificate problem: self signed certificate

      因git默认是ssl方式验证,在采用http请求时,是使用的账号密码方式,因此需要git放行。

      在gitbash中键入以下命令即可关闭ssl的强制验证。

           >git config --global http.sslVerify false

    2. connection timeout

      在使用ssh进行连接,怎么也连接不通,有时是不允许ssh验证,可尝试使用http请求。

    3. 

    On branch master
    Your branch is ahead of 'origin/master' by 1 commit.
      (use "git push" to publish your local commits)
    nothing to commit, working tree clean

    一般在变换分支,merge时,会出现。

    1. 在merge时使用   git merge branch   --no-commit   不提交方式merge

    2.如果已经merge了使用: git reset --soft origin/master  重置commit即可。或者无所谓修改个值,通过--amend进行提交一个新的和原有merge的合并掉。

  • 相关阅读:
    router使用以及vue的动画效果
    配置wbepack
    Axios插件和loading的实现
    自定义组件的 v-model
    组件模块化使用
    组件基础
    vue的使用1
    solt插槽的使用。
    Vue的使用
    Vue的router使用
  • 原文地址:https://www.cnblogs.com/DennyZhao/p/9542808.html
Copyright © 2011-2022 走看看