07 2024 档案

ts 常用api和特性
摘要:typeof 获取变量的类型:在运行时检查变量的类型 类型查询:在类型注解中引用现有变量的类型 cont person= { name: 'xman', age: 18 }; type Person = typeof person; // 此时Person类型如下: type Person = { 阅读全文

posted @ 2024-07-07 23:24 sss大辉 阅读(61) 评论(0) 推荐(0) 编辑

git fork模式、合并commit、多条commit修改指定的commit
摘要:1、fork项目在github页面上, 点击fork按钮, 将B的项目拷贝一份到A自己的代码仓库中. 2.克隆A自己的代码仓库到本地.git clone A git remote add upstream <upsteam-url>:添加一个upstream 远程仓库,指向一个公共的代码仓库,通常是 阅读全文

posted @ 2024-07-07 23:03 sss大辉 阅读(202) 评论(0) 推荐(0) 编辑

core.autocrlf
摘要:Core.autocrlfAutocrlf是一个配置项,用于控制在不同操作系统下的换行符转换。 查看core.autocrlf:通过git confg --list查看所有core.autosrlf状态(防止有多个core.autosrlf) 设置core.autocrlfgit config -- 阅读全文

posted @ 2024-07-07 22:53 sss大辉 阅读(152) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

导航

统计

点击右上角即可分享
微信分享提示