码迷,mamicode.com
首页 >  
搜索关键字:revert commit    ( 6046个结果
Git高层命令
git操作最基本的流程 创建工作目录 对工作目录进行修改 git add ./ git hash-object -w 文件名(修改了多少个工作目录中的文件 此命令就要被执行多少次) git update-index ... git commit -m "注释内容" git write-tree gi ...
分类:其他好文   时间:2020-07-04 17:17:10    阅读次数:65
git stash实现原理
一、git stash的man手册中对该命令的说明 git需要保存的内容:1、本地修改并且已经通过git add添加到缓存区的2、本地修改但是还没有添加到缓存区的3、可能还包括本地添加但是没有track的 DISCUSSION A stash is represented as a commit w ...
分类:其他好文   时间:2020-07-04 17:06:21    阅读次数:98
this exceeds GitHub's file size limit of 100 MB
GitHub对文件的大小有限制,问题在于,当移除了相关的文件之后,问题依然存在。 解决方法: 除了移除相关的文件,还要修改git的历史记录,移除相应的commit结点。 最简单的方法是使用以下命令: git filter-branch -f --index-filter 'git rm --cach ...
分类:其他好文   时间:2020-07-04 15:05:52    阅读次数:56
Leetcode: 879. Profitable Schemes
Description There are G people in a gang, and a list of various crimes they could commit. The i-th crime generates a profit[i] and requires group[i] g ...
分类:其他好文   时间:2020-07-04 13:37:37    阅读次数:57
Oracle 导入 SQL 文件
cmd 进入 命令窗口 输入:sqlplus 用户名/密码@ip地址:端口号/实例名, 例如: sqlplus user/password@192.168.1.229:1521/ORCL 进入SQLPLUS后 输入 : @C:\xxx.sql 回车 ... 漫长的等待 ... 最后 commit o ...
分类:数据库   时间:2020-07-03 23:02:18    阅读次数:69
合并本地多次commit为一个commit
git log 查看commit信息 git reset 7e6b6ef13bd3c9cb6369f4ff9ecb6b88b659aa9egit status 再git commit -m 一次 ,但是这种方法有的还需要自己微调一下,其实感觉 不是很好 ...
分类:其他好文   时间:2020-07-03 21:17:44    阅读次数:46
IDEA插件-Git Commit Template
安装: ? 去IDEA插件应用商城下载。 简介: Git Commit message规范采用的是Angular 规范 Angular规范中定义的格式有3个内容: Header | ? |- type(必需) : Type of change:commit的类别; ? |- scope(可选):Sc ...
分类:其他好文   时间:2020-07-03 17:58:43    阅读次数:179
Git Bash命令行上传git项目
使用 git init 命令初始化Git仓库,使此项目文件夹成为Git可以管理的仓库 git init 使用 git add . 命令把项目文件添加到暂存区里面,不要忘记后面的小数点“.”,意为添加文件夹下的所有文件 git add . 使用 git commit 命令告诉Git,把文件提交到仓库。 ...
分类:Web程序   时间:2020-07-02 10:48:39    阅读次数:79
mac 通过使用alias简化git命令输入
首先使用vim ~/.bashrc进入 ~/.bashrc文件 然后在~/.bashrc文件添加以下修改 凭自己的习惯添加 alias gst='git status' alias ga='git add -A .' alias gc='git commit -m' alias gd='git di ...
分类:系统相关   时间:2020-07-01 20:34:45    阅读次数:70
egg.js 中使用 egg-mysql 操作 mysql 数据库
一、egg-mysql 的安装配置 1、在 egg 项目中安装 egg-mysql npm i egg-mysql --save 2、在 {app_root}/config/plugin.js 中启用 egg-mysql 插件: exports.mysql = { enable: true, pac ...
分类:数据库   时间:2020-07-01 19:59:16    阅读次数:136
6046条   上一页 1 ... 22 23 24 25 26 ... 605 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!