当前位置:网站首页>4.14到新公司的一天
4.14到新公司的一天
2022-08-02 03:23:00 【Ww597】
1. git


git操作
- Git init 初始化仓库
- Git clone “仓库地址”
- Git add . 添加到暂存区
- Git status 查看仓库当前的状态
- Git commit -m “备注” 提交到仓库
- Git push 上传到仓库
- Git diff 比较文件的不同,即暂存区和工作区的差异
- Git log 查看最近一次谁做了什么操作
- Git rm 文件名 删除工作区的文件
git创建分支并提交代码
(1)Git bash 创建分支提交代码
打开git bash 环境
git branch 查看当前分支
git add . git commit -m git push
git branch 分支名称创建分支
git push origin 分支名 命令将本地的修改推送到远程服务器上
(2)vscode提交


(3)sourcetree

冲突问题:在vscode 两人同时提交代码,一人先提交是最新的,另一人提交造成冲突 两人修改到同一行代码

2 . $attrs的使用:这个意思就是父组件往子组件传没有在子组件的props里声明过的值时,子组件可以通过$attrs接受,且只包含父组件没有在props里声明的值,$attrs接受的是一个对象


边栏推荐
猜你喜欢

DSPE-PEG-PDP, DSPE-PEG-OPSS, phospholipid-polyethylene glycol-mercaptopyridine supply, MW: 5000

每天填坑,精卫填坑第二集,TX1 配置从固态启动,安装Pytorch

C语言入门小游戏—三子棋

STM32 触发HardFault_Handler如何查找原因

oracle inner join and outer join

【 application 】 life many years of operations, what turned scored 12 k + annual bonus salary?

通过PS 2021 将网页图标抠下来

一个结构体 = 另一个结构体(同类型结构体之间可直接赋值操作)

Phospholipid-polyethylene glycol-azide, DSPE-PEG-Azide, DSPE-PEG-N3, MW: 5000

URL module
随机推荐
云服务器安装部署Nacos2.0.4版本
跨域问题解决
npm and package.json
Phospholipid-polyethylene glycol-azide, DSPE-PEG-Azide, DSPE-PEG-N3, MW: 5000
ThunderBirde无法登录问题、pycharm调试一直收集数据、RuntimeError: CUDA error: device-side assert triggered等疑难杂症解决
np.unique()函数
js takes the value of a feature at a certain position in the string, such as Huawei=> Huawei
np.isnan ()
A senior test engineer asked me these questions as soon as the interview came
oracle inner join and outer join
钟表刻度线
Cloud server installation and deployment of Nacos 2.0.4 version
Detailed explanation of the usage of exists in mysql
C语言入门小游戏—三子棋
ssm various configuration templates
Customer Rating Control
__dirname
页面加载流程
kettle 安装与配置
mysql阶段总结