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


边栏推荐
- 微信小程序全局组件的定义
- sh: 1: curl: not found
- querystring模块
- ssm various configuration templates
- npm--package.json---require
- subprocess.CalledProcessError: Command 'pip install 'thop'' returned non-zero exit status 1.
- Source Insight 使用教程(2)——常用功能
- canvas--pie chart
- 【我的创作纪念日】 3周年
- A senior test engineer asked me these questions as soon as the interview came
猜你喜欢

微信小程序全局组件的定义

URL模块

排序学习笔记(二)堆排序

新工程加载YOLOV6的预训练权重问题

How to check whether a table is locked in mysql

js basics

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

The @autowired distinguished from @ the Resource

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

UserWarning:火炬。meshgrid:在以后的版本中,它将被要求通过索引ing argu
随机推荐
STM32 map文件解析
如何查看一个现有的keil工程之前由什么版本的keil IDE编译
Redis简单学习笔记
URL模块
排序学习笔记(二)堆排序
SOCKS5
针对简历上的问题
知识工程作业2:知识工程相关领域介绍
np.unique()函数
DSPE-PEG-Silane, DSPE-PEG-SIL, phospholipid-polyethylene glycol-silane modified active group
js 数组去重的常用方法
【手把手带你学nRF52832/nRF52840 · (1)开发环境搭建】
Detailed explanation of the usage of exists in mysql
URL module
微信小程序怎么批量生成带参数的小程序码?
np.isnan()
C语言入门小游戏—三子棋
Customer Rating Control
kettle 安装与配置
[Learning Records of Boxue Valley] Super summary, share with heart | Software Testing Interface Testing Basics