当前位置:网站首页>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接受的是一个对象
边栏推荐
- 页面加载流程
- 【我的创作纪念日】 3周年
- kettle 安装与配置
- Common methods of js array deduplication
- canvas--饼状图
- Living to detect the Adaptive Normalized Representation Learning for GeneralizableFace Anti - Spoofing reading notes
- __dirname
- Error in render: “TypeError: Cannot read properties of null (reading ‘0‘)“ 报错解决方案
- 环形链表---------约瑟夫问题
- subprocess.CalledProcessError: Command ‘pip install ‘thop‘‘ returned non-zero exit status 1.
猜你喜欢
STM32 触发HardFault_Handler如何查找原因
AttributeError: 'Upsample' object has no attribute 'recompute_scale_factor'
canvas--饼状图
URL模块
客户评分控件
配置mmdet来训练Swin-Transformer之一配置环境
parser = argparse.ArgumentParser() parsing
【装机】老毛桃的安装及使用
[Basic Tutorial of Remote Control Development 1] Crazy Shell Open Source Formation Drone-GPIO (Remote Control Indicator Light Control)
每天填坑,精卫填坑第二集,TX1 配置从固态启动,安装Pytorch
随机推荐
猴子选大王
SSM integration
C语言中关于2的n次方求值问题(移位运算)
SOCKS5
String comparison size in MySQL (date string comparison problem)
parser = argparse.ArgumentParser() parsing
DSPE-PEG-Silane, DSPE-PEG-SIL, phospholipid-polyethylene glycol-silane modified active group
客户评分控件
啃瓜记录第一天
docker中配置mysql 5.7
canvas--饼状图
ImportError: libGL.so.1: cannot open shared object file: No such file or directory
这些JS题面试时一定要答对!
L1-043 阅览室 (20分)
js 数组去重的常用方法
js基础知识
区间问题 : 今年暑假不AC
新工程加载YOLOV6的预训练权重问题
C语言 内联函数
ModuleNotFoundError No module named 'xxx' possible solutions