当前位置:网站首页>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接受的是一个对象


边栏推荐
- 【装机】老毛桃的安装及使用
- 错误:with open(txt_path,‘r‘) as f: FileNotFoundError: [Errno 2] No such file or directory:
- ThunderBirde无法登录问题、pycharm调试一直收集数据、RuntimeError: CUDA error: device-side assert triggered等疑难杂症解决
- C语言入门小游戏—三子棋
- subprocess.CalledProcessError: Command ‘pip install ‘thop‘‘ returned non-zero exit status 1.
- 新工程加载YOLOV6的预训练权重问题
- 一个结构体 = 另一个结构体(同类型结构体之间可直接赋值操作)
- How to check whether a table is locked in mysql
- getattr()函数解析
- COCO数据集训练TPH-YoloV5
猜你喜欢

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

Problems when yolov5 calls ip camera

URL模块

Phospholipid-Polyethylene Glycol-Aldehyde DSPE-PEG-Aldehyde DSPE-PEG-CHO MW: 5000

环形链表---------约瑟夫问题

require模块化语法

The @autowired distinguished from @ the Resource

C语言的变长数组

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

AttributeError: 'Upsample' object has no attribute 'recompute_scale_factor'
随机推荐
函数提升和变量提升
---静态页面---
如何查看一个现有的keil工程之前由什么版本的keil IDE编译
How to check whether a table is locked in mysql
区间问题 : 今年暑假不AC
STM32 触发HardFault_Handler如何查找原因
DSPE-PEG-Silane, DSPE-PEG-SIL, phospholipid-polyethylene glycol-silane modified active group
啃瓜记录第一天
parser = argparse.ArgumentParser()解析
UserWarning:火炬。meshgrid:在以后的版本中,它将被要求通过索引ing argu
mysql阶段总结
Cloud server installation and deployment of Nacos 2.0.4 version
npm and package.json
小程序 van-cell 换行能左对齐问题
【手把手带你学nRF52832/nRF52840 · (1)开发环境搭建】
querystring模块
针对简历上的问题
Dynamic proxy tool class
L1-020 帅到没朋友 (20分)
C语言 0长度数组/柔性数组