Git - Git (executable|command line)

About

The git executable

Usage

usage: git [--version] [--help] [-C <path>] [-c name=value]
           [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
           [-p|--paginate|--no-pager] [--no-replace-objects] [--bare]
           [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
           <command> [<args>]

where:

Commands

Command Description
add Add file contents to the index
add–interactive
am
annotate
apply
archimport
archive
bisect Find by binary search the change that introduced a bug
bisect–helper
blame
branch List, create, or delete branches
bundle
cat-file
check-attr
check-ignore
check-mailmap
check-ref-format
checkout Checkout a branch or paths to the working tree
checkout-index
cherry
cherry-pick
citool
clean
clone Clone a repository into a new directory
column
commit Record changes to the repository
commit-tree
config
count-objects
credential
credential-store
credential-wincred
cvsexportcommit
cvsimport
cvsserver
daemon
describe
diff Show changes between commits, commit and working tree, etc
diff-files
diff-index
diff-tree
difftool
difftool–helper
fast-export
fast-import
fetch Download objects and refs from another repository
fetch-pack
filter-branch
fmt-merge-msg
for-each-ref
format-patch
fsck
fsck-objects
gc
get-tar-commit-id
grep Print lines matching a pattern
gui
gui–askpass
gui–askyesno
gui.tcl
hash-object
help
http-backend
http-fetch
http-push
imap-send
index-pack
init Create an empty Git repository or reinitialize an existing one
init-db
instaweb
interpret-trailers
log Show commit logs
ls-files
ls-remote
ls-tree
mailinfo
mailsplit
merge Join two or more development histories together
merge-base
merge-file
merge-index
merge-octopus
merge-one-file
merge-ours
merge-recursive
merge-resolve
merge-subtree
merge-tree
mergetool
mktag
mktree
mv Move or rename a file, a directory, or a symlink
name-rev
notes
p4
pack-objects
pack-redundant
pack-refs
patch-id
prune
prune-packed
pull Fetch from and integrate with another repository or a local branch
push Update remote refs along with associated objects
quiltimport
read-tree
rebase Forward-port local commits to the updated upstream head
receive-pack
reflog
relink
remote Manage set of tracked repositories
remote-ext
remote-fd
remote-ftp
remote-ftps
remote-http
remote-https
repack
replace
request-pull
rerere
reset Reset current HEAD to the specified state
rev-list
rev-parse
revert
rm Remove files from the working tree and from the index
send-email
send-pack
sh-i18n–envsubst
shortlog
show Show various types of objects
show-branch
show-index
show-ref
stage
stash Stash the changes in a dirty working directory away
status Show the (working tree|file) status
stripspace
submodule
subtree
svn
symbolic-ref
tag Create, list, delete or verify a tag object signed with GPG
unpack-file
unpack-objects
update-index
update-ref
update-server-info
upload-archive
upload-pack
var
verify-commit
verify-pack
verify-tag
web–browse
whatchanged
worktree
write-tree

Wrapper

Help

  • git help -a and git help -g lists available subcommands and some concept guides.
  • git help <command> or git help <concept> to get help about a specific subcommand or concept.





Discover More
Card Puncher Data Processing
Code Versioning

Versioning permits to tell which code is newer than another. Every versioning schema will then tell which version is newer than the other one. Code is: versioned by making commit to a repository....
Git - Client

Git - Clone

git clone creates a clone known as local repository from a remote repository. cloning in git means: downloading the remote repository into a newly created directory setting for each downloaded branch...
Git - Config

The git config command. The name is actually: the section and the key separated by a dot. The value will be escaped. Example: where: core.editor is the name whereas: core is the section...
Git - Objects (Database)

An object is the value in the entry of the git database key-value. All entities in git are objects. Objects are the entity of the Git file system. On the operating file system, the objects are stored...
Git - Pull

git pull incorporates commit (changes) from: a remote repository into the current branch. when you run a pull, git figures out what has changed on the server since the last pull and downloads any...
Git - User

The user originally for Git is the author. But Git knows two persons: the author: the person who originally wrote the code / the patch. the committer: the person (project maintainer or core member)...
Git - gitignore

How to tell git to ignore files or directory with ignore patterns. Option Commited Scope Yes Only a specific Repository No Only a specific Repository No All repository on the system ...
Card Puncher Data Processing
Shell Data Processing - Echo (Gnu Utility)

This page is the echo executable of the Gnu utility package that implements an echo functionality. echo To echo a string: where: -n: do not output a newline character. See the example...
Branches Git
What is a Git Branch ?

This page talks Branch management in Git. For Git, a branch is: a commit name (ref) that points to the last commit (head) leaf in the commit log (or log) that represents a commit chain Example...



Share this page:
Follow us:
Task Runner