The most commonly used git commands are:
add //add Add file contents to the index
bisect //bisect Find the change that introduced a bug by binary search
branch //branch List, create, or delete branches
checkout //checkout Checkout and switch to a branch
clone //clone Clone a repository into a new directory
commit //commit Record changes to the repository
diff //diff Show changes between commits, the commit and working trees, etc
fetch //fetch Download objects and refs from another repository
grep //grep Print lines matching a pattern
init //init Create an empty git repository or reinitialize an existing one
log //log Show commit logs
merge //merge Join two or more development histories
mv //mv Move or rename a file, a directory, or a symlink
pull //pull Fetch from and merge with another repository or a local branch
push //push Update remote refs along with associated objects
se //se Forward-port local commits to the updated upstream head
reset //reset Reset current HEAD to the specified state
rm //rm Remove files from the working tree and from the index
show //show Show various types of objects
status //status Show the working tree status
tag //tag Create, list, delete, or verify a tag object signed with GPG
$ git help --all
/*
usage: git [--version] [--exec-path[=<path>]] [--html-path]
[-p|--paginate|--no-pager] [--no-replace-objects]
[--bare] [--git-dir=<path>] [--work-tree=<path>]
[-c name=value] [--help]
<command> [<args>]
available git commands in 'D:\Program Files (x86)\Git/libexec/git-core'
*/
-----------------------------------------------------------------------
add hash-object relink
add--interactive help remote
am http-backend remote-ext
annotate http-fetch remote-fd
apply http-push remote-ftp
archive imap-send remote-ftps
bisect index-pack remote-http
bisect--helper init remote-https
blame init-db remote-testgit
branch log repack
bundle lost-found replace
cat-file ls-files repo-config
check-attr ls-remote request-pull
check-ref-format ls-tree rerere
checkout mailinfo reset
checkout-index mailsplit rev-list
cherry merge rev-parse
cherry-pick merge-base revert
citool merge-file rm
clean merge-index send-email
clone merge-octopus send-pack
commit merge-one-file sh-setup
commit-tree merge-ours shortlog
config merge-recursive show
count-objects merge-resolve show-branch
daemon merge-subtree show-index
describe merge-tree show-ref
diff mergetool stage
diff-files mergetool--lib stash
diff-index mktag status
diff-tree mktree stripspace
difftool mv submodule
difftool--helper name-rev svn
fast-export notes symbolic-ref
fast-import pack-objects tag
fetch pack-redundant tar-tree
fetch-pack pack-refs unpack-file
filter-branch parse-remote unpack-objects
fmt-merge-msg patch-id update-index
for-each-ref peek-remote update-ref
format-patch prune update-server-info
fsck prune-packed upload-archive
fsck-objects pull upload-pack
gc push var
get-tar-commit-id quiltimport verify-pack
grep read-tree verify-tag
gui rebase web--browse
gui--askpass rebase--interactive whatchanged
gui--askyesno receive-pack write-tree
gui.tcl reflog
// See 'git help <command>' for more information on a specific command.
分享到:
相关推荐
Minimal_Git_command::rainbow:这是一个存储库,总结了您至少应该了解的有关Git的命令和技巧。
The command set and learning curve of Git are pretty similar to and even better than any other SCM, and therefore it is comparatively easier to learn. Starting with the basic Git commands, this book...
To understand and follow the recipes included in this book, basic knowledge of Git command-line code is mandatory. Table of Contents Chapter 1. Navigating Git Chapter 2. Configuration Chapter 3. ...
A tour of git: the basics A tour of git: the basics ...This document is a modified version of a document ...To keep things simple, I will focus on installing git from the command line under the most
Basic topics - from installing Git to a "Command Line 101" - are covered, not expected. While learning all the key features such as Branching and Merging, the book will also explain advanced topics as...
Termux基本命令 基本命令 $ pkg安装git -y $ git clone $ cd基本命令 $ chmod + x command.sh $ bash command.sh
He presents essential skills for both Linux command line and GUI environments, introducing text editors and other tools for efficient coding. Building on this knowledge, Rothwell introduces scripting...
您需要了解的git命令和工作流程,才能使用git并自动执行常规命令。初始化# paste this in your terminal to change your current working directory to the project directorycd your_project_path# initialize git...
He presents essential skills for both Linux command line and GUI environments, introducing text editors and other tools for efficient coding. Building on this knowledge, Rothwell introduces ...
基本快递服务器 401-Lab02类 ... 1- Clone the repo from git hub, by run the following command "git clone -repo-". 2- Run "npm init". 3- Create .env file and PORT inside it. 4- Then run "npm start
Command Agent Launcher Plugin Conditional BuildStep Credentials Credentials Binding Plugin Display URL API Durable Task Plugin ECharts API Email Extension Plugin Folders Plugin Font Awesome API Plugin...
Version control based backup with Git 227 Cloning hard drive and disks with dd 230 Chapter 7: The Old-boy Network 233 Introduction 233 Basic networking primer 234 Let's ping! 241 Listing all the ...
xpl-radio Node JS层通过xPL执行mplayer 安装 $ git clone https://github.com/wiseflat/xpl-radio.git ... $ xpl-send -m cmnd -c radio.basic url=file1.mp3 command=play|stop|loop|timeLimit|stopTimeLimit
xpl-报警 Node JS层通过xPL执行mplayer 安装 $ git clone https://github.com/wiseflat/xpl-alarm.git ... $ xpl-send -m cmnd -c alarm.basic file=file1.mp3 command=play|stop|loop|timeLimit|stopTimeLimit
React车间日程React Basic 杰西克斯虚拟...将ssh密钥添加到您的heroku帐户heroku keys:add 确保通过终端安装以下内容自制吉特Heroku npm 纱像素 command -v brew >/dev/null 2>&1 || /usr/bin/ruby -e "$(curl -fsSL ...
Use the Git version control system to protect your development environment from unwanted changes Harness the power of Python to automate other software Distribute computation tasks across multiple ...
编辑器的段集合。 安装 Git克隆 在主菜单下,选择“帮助”>“显示扩展文件夹” ...mdlbase - Same command as mdl 导航 mdlfixedheader 纽扣 mdlsearch mdlcoloredbuttonripple 输入项 mdlfloatinput
多线程下载软件 aria2 is a utility for downloading files....$ git clone https://github.com/aria2/aria2.git This will create aria2 directory in your current directory and source files are stored there.
Name Command State Ports -------------------------------------------------------------------------------- gistandard_mysql_1 docker-entrypoint.sh mysql ... Up 3306/tcp gistandard_web_1 bash -c ...
plugin.jpi', 'build-timeout.jpi', 'built-on-column.jpi', 'categorized-view.jpi', 'cloudbees-folder.jpi', 'command-launcher.jpi', 'conditional-buildstep.jpi', 'credentials-binding.jpi', 'credentials....