摘要:注册完GIT账号之后,GIT如何区分本地仓库和远程仓库,通过两种方式。 一、第一种方式: 通过https协议,通过这种方式每次commit的时候都需要输入账号和密码比较繁琐 二、通过ssh的方式(推荐使用) ssh工作原理:在我们提交代码的时候,github需要用我们账号对应的公钥解密我们的代码,如
阅读全文
posted @ 2021-03-11 19:53
随笔 - 58, 文章 - 0, 评论 - 6, 阅读 -
72611
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
导航
搜索随笔分类
随笔档案最新评论
|
03 2021 档案
摘要:注册完GIT账号之后,GIT如何区分本地仓库和远程仓库,通过两种方式。 一、第一种方式: 通过https协议,通过这种方式每次commit的时候都需要输入账号和密码比较繁琐 二、通过ssh的方式(推荐使用) ssh工作原理:在我们提交代码的时候,github需要用我们账号对应的公钥解密我们的代码,如
阅读全文
posted @ 2021-03-11 19:53
摘要:一、父到子 1. 通过props属性 父级页面 <child-template :msg="name"></child-template> 子级页面 props: { msg: String } 或 props: { msg: { type: String, default: "默认值" } } 2
阅读全文
posted @ 2021-03-10 20:25
摘要:一、router-link路由导航 <router-link to="/a/123">routerlink传参</router-link> 路由配置::{path: '/a/:num', name: A, component: A} 地址栏中的显示::http://localhost:8080/#/
阅读全文
posted @ 2021-03-09 19:55
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Powered by:
|