当前位置:网站首页>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-DBCO Phospholipid-Polyethylene Glycol-Dibenzocyclooctyne A Linear Heterobifunctional Pegylation Reagent
- docker 安装 sqlserver中的坑点
- pyppeteer使用样例脚本
- oracle inner join and outer join
- parser = argparse.ArgumentParser()解析
- [Mianjing] Mihayou data development on one side and two sides
- 啃瓜记录第一天
- Common methods of js array deduplication
- mysql阶段总结
- 通过PS 2021 将网页图标抠下来
猜你喜欢

DSPE-PEG-DBCO Phospholipid-Polyethylene Glycol-Dibenzocyclooctyne A Linear Heterobifunctional Pegylation Reagent

解决MySQL创建子视图并查看的时候,字符集报错问题

Debian 10 NTP Service Configuration

【装机】老毛桃的安装及使用

Error in render: “TypeError: Cannot read properties of null (reading ‘0‘)“ 报错解决方案

URL URL

AttributeError: ‘Upsample‘ object has no attribute ‘recompute_scale_factor‘

解决glob()返回文件排序不一致问题&onnx本地按照安装方法

docker中配置mysql 5.7

C语言入门小游戏—三子棋
随机推荐
排序学习笔记(二)堆排序
Amazon sellers how to improve the conversion
Common methods of js array deduplication
Deveco studio Hongmeng app access network detailed process (js)
kettle 安装与配置
页面加载流程
DSPE-PEG-PDP, DSPE-PEG-OPSS, phospholipid-polyethylene glycol-mercaptopyridine supply, MW: 5000
Problems when yolov5 calls ip camera
---静态页面---
啃瓜记录第一天
parser = argparse.ArgumentParser() parsing
nucleo stm32 h743 FREERTOS CUBE MX配置小记录
Phospholipid-polyethylene glycol-targeted neovascularization targeting peptide APRPG, DSPE-PEG-APRPG
Basic usage of Monaco Editor
js takes the value of a feature at a certain position in the string, such as Huawei=> Huawei
js基础知识
ssm various configuration templates
[Mianjing] Mihayou data development on one side and two sides
yolov5调用ip摄像头时出现的问题
Guangzhou Huawei Interview Summary