git help

These are common Git commands used in various situations:
这是Git命令使用比较多的一些命令:

start a working area (see also: git help tutorial)
开始一个工作区域(也可以看看,git 帮助指导)
clone Clone a repository into a new directory
克隆一个仓库到新的地址
init Create an empty Git repository or reinitialize an existing one
创建一个新的git仓库或者重新预设一个以存在的

work on the current change (see also: git help everyday)
修改当前的改变(也可以看:git 帮助 每天)
add Add file contents to the index
添加文件内容到索引
mv Move or rename a file, a directory, or a symlink
移动或者重命名一个文件夹,一个地址,或者一个符号链接
reset Reset current HEAD to the specified state
重设当前HEAD到精确的状态
rm Remove files from the working tree and from the index
从工作树或者目录移除文件

examine the history and state (see also: git help revisions)
查看历史版本和状态(也可以看:git帮助 复习)
bisect Use binary search to find the commit that introduced a bug
使用二进制查找,找到错误或者引起bug的原因
grep Print lines matching a pattern
打印行适配类型
log Show commit logs
展示提交日志
show Show various types of objects
展示不同的对象类型
status Show the working tree status
展示工作树状态

grow, mark and tweak your common history
成长,标记,开足马力找到历史信息
branch List, create, or delete branches
列表,创建,或者删除分支
checkout Switch branches or restore working tree files
转换分支或者存储修复工作树文件
commit Record changes to the repository
记录仓库的变化内容
diff Show changes between commits, commit and working tree, etc
展示提交的变化内容,提交和工作树等
merge Join two or more development histories together
使两个或者更多的开发者历史结合到一起
rebase Reapply commits on top of another base tip
再次申请提交到另一个基本提示
tag Create, list, delete or verify a tag object signed with GPG
创建,列表,删除或者核实一个包类型是GPG

collaborate (see also: git help workflows)
合作(也可以看:git 帮助 工作流程)
fetch Download objects and refs from another repository
下载对象或者参考,从另一个仓库
pull Fetch from and integrate with another repository or a local branch
拿到或者融入另一个仓库或者本地分支
push Update remote refs along with associated objects
远程更新参考联合对象

brew help

Example usage:
brew search [TEXT|/REGEX/]
brew info [FORMULA...]
brew install FORMULA...
brew update
brew upgrade [FORMULA...]
brew uninstall FORMULA...
brew list [FORMULA...]

Troubleshooting:
brew config
brew doctor
brew install --verbose --debug FORMULA

Contributing:
brew create [URL [--no-fetch]]
brew edit [FORMULA...]

Further help:
brew commands
brew help [COMMAND]
man brew
https://docs.brew.sh

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值