摘要: 1、找到ssh-keygen.exe安装目录;(我的在D:\git\Git\usr\bin) 2、配置环境变量:高级系统设置 》 环境变量 》 系统变量 ; 找到 path 》进行编辑,把ssh-keygen.exe路径粘贴进去 3、保存 ,应该OK了; (win7和win10貌似配置环境变量编辑时 阅读全文
posted @ 2020-04-22 11:47 超级玛丽和大力水手 阅读(4486) 评论(0) 推荐(0)
摘要: 避免每次pull或者push都要输入密码 enter passphrase for key '~/.ssh/id_rsa' 1、输入下边命令; ssh-keygen -p [-P old_passphrase] [-N new_passphrase] [-f keyfile] 2、实例:旧密码为12 阅读全文
posted @ 2020-04-22 11:39 超级玛丽和大力水手 阅读(8775) 评论(0) 推荐(0)
摘要: 1、打开本地git bash 使用下边命令 ssh-keygen -t rsa -C 'xxx@xxx.com' 然后回车(-C 参数是你的邮箱地址) 2、会出现: Enter file in which to save the key (/c/Users/pc/.ssh/id_rsa): Ente 阅读全文
posted @ 2020-04-22 10:29 超级玛丽和大力水手 阅读(232) 评论(0) 推荐(0)
摘要: 相同点: 1、都循环遍历数组的每一项; 2、三个参数item(当前项),index(索引),array(原始数组); 3、匿名函数this都指定的是window; 4、只能循环遍历数组; 不同点: map: 可以return返回新的数组 map的回调函数,支持return返回值,return的什么, 阅读全文
posted @ 2020-03-31 15:43 超级玛丽和大力水手 阅读(211) 评论(0) 推荐(0)
摘要: git remote rm origin #删除远程的仓库git remote add origin https://gitee.com/xx/xx.git(新地址) #重新添加远程仓库 阅读全文
posted @ 2020-03-26 17:50 超级玛丽和大力水手 阅读(129) 评论(0) 推荐(0)
摘要: 默认文档在新的窗口预览; 阅读全文
posted @ 2019-11-06 15:39 超级玛丽和大力水手 阅读(322) 评论(0) 推荐(0)
摘要: 1、码云上创建一个项目 testgit (名字随你) 2、本地创建一个文件夹D:/testgit,然后使用git bash 3、cd 到本地文件夹中D:/testgit, 4、使用 git init 命令 ,初始化一个git 本地仓库(项目),会在本地创建一个 .git 的文件夹 5、使用git r 阅读全文
posted @ 2019-08-29 11:23 超级玛丽和大力水手 阅读(4584) 评论(0) 推荐(0)
摘要: 1、在本地建立一个文件夹(例:web); 2、在此文件夹里右键点击“git Bash Here” 3、复制要下拉项目的链接 4、页面中输入命令 git clone 加刚才复制的路径 5、 等待下载完毕,然后是切换分支问题。一般我们刚下载好拿到的都是master分支,但是开发的话都是在dev或其他分支 阅读全文
posted @ 2019-08-29 11:20 超级玛丽和大力水手 阅读(7406) 评论(0) 推荐(0)
摘要: <FormItem label="联系方式" > {getFieldDecorator("mobile", { rules :[ { pattern: /^1[3|4|5|7|8][0-9]\d{8}$/, message: '请输入正确的手机号' } ] },{ initialValue:vehicleinfo.mobile })( <Input /> )} </FormItem> rules 阅读全文
posted @ 2019-08-27 11:26 超级玛丽和大力水手 阅读(3330) 评论(0) 推荐(0)
摘要: 不哔哔,直接看! 1、“快捷键ctrl+shift+p,在搜索框里输入settings进行搜索” 2、输入enablePreview(选项在Workbench工作台中)搜索,箭头处的对勾打掉,就OK了; 阅读全文
posted @ 2019-08-21 15:33 超级玛丽和大力水手 阅读(2443) 评论(1) 推荐(2)