You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Denton Liu 09ac67a183 format-patch: move git_config() before repo_init_revisions() 5 years ago
.github point pull requesters to GitGitGadget 6 years ago
Documentation format-patch: teach format.notes config option 6 years ago
block-sha1
builtin format-patch: move git_config() before repo_init_revisions() 5 years ago
ci ci: fix AsciiDoc/Asciidoctor stderr check in the documentation build job 6 years ago
compat Merge branch 'jk/guard-bswap-header' 6 years ago
contrib Merge branch 'nd/sha1-name-c-wo-the-repository' 6 years ago
ewah
git-gui
gitk-git Merge git://ozlabs.org/~paulus/gitk 6 years ago
gitweb gitweb: make hash size independent 6 years ago
mergetools mergetools: add support for smerge (Sublime Merge) 6 years ago
negotiator
perl Git.pm: make hash size independent 6 years ago
po gitk: Update Bulgarian translation (317t) 6 years ago
ppc
refs Merge branch 'jk/refs-double-abort' 6 years ago
sha1collisiondetection@16033998da Makefile: fix unaligned loads in sha1dc with UBSan 6 years ago
sha1dc Makefile: fix unaligned loads in sha1dc with UBSan 6 years ago
sha256
t format-patch: use --notes behavior for format.notes 5 years ago
templates
trace2 Merge branch 'js/trace2-to-directory' 6 years ago
vcs-svn
xdiff xdiff: use xmalloc/xrealloc 6 years ago
.clang-format trace2: add for_each macros to clang-format 6 years ago
.editorconfig
.gitattributes
.gitignore Merge branch 'js/misc-doc-fixes' 6 years ago
.gitmodules
.mailmap .mailmap: map Clemens Buchacher's mail addresses 6 years ago
.travis.yml travis: remove the hack to build the Windows job on Azure Pipelines 6 years ago
.tsan-suppressions
COPYING
GIT-VERSION-GEN Start 2.22 cycle 6 years ago
INSTALL
LGPL-2.1
Makefile Merge branch 'js/misc-doc-fixes' 6 years ago
README.md README: adjust for final Azure Pipeline ID 6 years ago
RelNotes Start 2.22 cycle 6 years ago
abspath.c
aclocal.m4
advice.c tag: advise on nested tags 6 years ago
advice.h tag: advise on nested tags 6 years ago
alias.c
alias.h
alloc.c
alloc.h
apply.c completion: add more parameter value completion 6 years ago
apply.h
archive-tar.c archive: convert struct archiver_args to object_id 6 years ago
archive-zip.c archive: convert struct archiver_args to object_id 6 years ago
archive.c Merge branch 'en/merge-directory-renames' 6 years ago
archive.h archive: convert struct archiver_args to object_id 6 years ago
argv-array.c
argv-array.h
attr.c Merge branch 'rd/attr.c-comment-typofix' 6 years ago
attr.h
azure-pipelines.yml ci: parallelize testing on Windows 6 years ago
banned.h
base85.c
bisect.c bisect: make diff-tree output prettier 6 years ago
bisect.h
blame.c Merge branch 'en/merge-directory-renames' 6 years ago
blame.h Use 'unsigned short' for mode, like diff_filespec does 6 years ago
blob.c
blob.h
branch.c
branch.h
builtin.h Merge branch 'js/misc-doc-fixes' 6 years ago
bulk-checkin.c
bulk-checkin.h
bundle.c
bundle.h
cache-tree.c Merge branch 'jk/loose-object-cache-oid' 6 years ago
cache-tree.h
cache.h Merge branch 'nd/sha1-name-c-wo-the-repository' 6 years ago
chdir-notify.c
chdir-notify.h
check-builtins.sh
check_bindir
checkout.c
checkout.h
color.c
color.h
column.c
column.h
combine-diff.c Merge branch 'en/combined-all-paths' 6 years ago
command-list.txt
commit-graph.c Merge branch 'nd/sha1-name-c-wo-the-repository' 6 years ago
commit-graph.h commit-graph write: don't die if the existing graph is corrupt 6 years ago
commit-reach.c Merge branch 'sb/more-repo-in-api' 6 years ago
commit-reach.h Merge branch 'sb/more-repo-in-api' 6 years ago
commit-slab-decl.h
commit-slab-impl.h
commit-slab.h
commit.c Merge branch 'tb/unexpected' 6 years ago
commit.h Merge branch 'nd/sha1-name-c-wo-the-repository' 6 years ago
common-main.c trace2: collect Windows-specific process information 6 years ago
config.c Merge branch 'nd/include-if-wildmatch' 6 years ago
config.h
config.mak.dev Makefile: allow for combining DEVELOPER=1 and CFLAGS="..." 6 years ago
config.mak.in
config.mak.uname Merge branch 'cc/aix-has-fileno-as-a-macro' 6 years ago
configure.ac autoconf: #include <libintl.h> when checking for gettext() 6 years ago
connect.c trace2:data: add trace2 transport child classification 6 years ago
connect.h
connected.c
connected.h
convert.c Merge branch 'jh/resize-convert-scratch-buffer' 6 years ago
convert.h
copy.c
credential-cache--daemon.c
credential-cache.c
credential-store.c
credential.c
credential.h
csum-file.c
csum-file.h
ctype.c
daemon.c
date.c completion: add more parameter value completion 6 years ago
decorate.c
decorate.h
delta-islands.c
delta-islands.h
delta.h
detect-compiler
diff-delta.c
diff-lib.c diff: drop options parameter from diffcore_fix_diff_index() 6 years ago
diff-no-index.c Merge branch 'nd/diff-parseopt-4' 6 years ago
diff.c Merge branch 'jt/batch-fetch-blobs-in-diff' 6 years ago
diff.h Merge branch 'nd/diff-parseopt-4' 6 years ago
diffcore-break.c
diffcore-delta.c
diffcore-order.c
diffcore-pickaxe.c
diffcore-rename.c
diffcore.h
dir-iterator.c
dir-iterator.h
dir.c Merge branch 'jk/untracked-cache-more-fixes' 6 years ago
dir.h Merge branch 'nd/sha1-name-c-wo-the-repository' 6 years ago
editor.c trace2:data: add editor/pager child classification 6 years ago
entry.c Merge branch 'tg/checkout-no-overlay' 6 years ago
environment.c Merge branch 'jk/save-getenv-result' 6 years ago
exec-cmd.c trace2: create new combined trace facility 6 years ago
exec-cmd.h
fast-import.c Merge branch 'bc/hash-transition-16' 6 years ago
fetch-negotiator.c
fetch-negotiator.h
fetch-object.c
fetch-object.h
fetch-pack.c Merge branch 'jk/fetch-reachability-error-fix' 6 years ago
fetch-pack.h fetch_pack(): drop unused parameters 6 years ago
fmt-merge-msg.h
fsck.c Use 'unsigned short' for mode, like diff_filespec does 6 years ago
fsck.h
fsmonitor.c
fsmonitor.h
fuzz-commit-graph.c fuzz-commit-graph: initialize repo object 6 years ago
fuzz-pack-headers.c
fuzz-pack-idx.c
generate-cmdlist.sh help -a: do not list commands that are excluded from the build 6 years ago
gettext.c
gettext.h
git-add--interactive.perl
git-archimport.perl
git-bisect.sh
git-compat-util.h Merge branch 'ss/msvc-path-utils-fix' 6 years ago
git-cvsexportcommit.perl
git-cvsimport.perl
git-cvsserver.perl
git-difftool--helper.sh
git-filter-branch.sh
git-instaweb.sh
git-legacy-stash.sh legacy stash: fix "rudimentary backport of -q" 6 years ago
git-merge-octopus.sh
git-merge-one-file.sh
git-merge-resolve.sh
git-mergetool--lib.sh mergetools: add support for smerge (Sublime Merge) 6 years ago
git-mergetool.sh
git-p4.py Merge branch 'ld/git-p4-shelve-update-fix' 6 years ago
git-parse-remote.sh
git-quiltimport.sh
git-rebase--am.sh
git-rebase--common.sh Merge branch 'en/rebase-merge-on-sequencer' 6 years ago
git-rebase--preserve-merges.sh
git-request-pull.sh
git-send-email.perl Merge branch 'bs/sendemail-tighten-anything-by' 6 years ago
git-sh-i18n.sh
git-sh-setup.sh stash: optionally use the scripted version again 6 years ago
git-submodule.sh Merge branch 'km/empty-repo-is-still-a-repo' 6 years ago
git-svn.perl
git-web--browse.sh
git.c Merge branch 'js/misc-doc-fixes' 6 years ago
git.rc
gpg-interface.c
gpg-interface.h
graph.c
graph.h
grep.c
grep.h
hash.h hash: add a function to lookup hash algorithm by length 6 years ago
hashmap.c
hashmap.h
help.c completion: fix multiple command removals 6 years ago
help.h
hex.c
http-backend.c http-backend: allow 64-character hex names 6 years ago
http-fetch.c
http-push.c http-push: remove remaining uses of sha1_to_hex 6 years ago
http-walker.c Merge branch 'bc/hash-transition-16' 6 years ago
http.c Merge branch 'bc/hash-transition-16' 6 years ago
http.h Merge branch 'bc/hash-transition-16' 6 years ago
ident.c Merge branch 'ps/stash-in-c' 6 years ago
imap-send.c Merge branch 'nd/imap-send-typofix' 6 years ago
interdiff.c
interdiff.h
iterator.h
json-writer.c
json-writer.h
khash.h khash: move oid hash table definition 6 years ago
kwset.c
kwset.h
levenshtein.c
levenshtein.h
line-log.c Merge branch 'en/merge-directory-renames' 6 years ago
line-log.h
line-range.c
line-range.h
linear-assignment.c
linear-assignment.h
list-objects-filter-options.c completion: add more parameter value completion 6 years ago
list-objects-filter-options.h
list-objects-filter.c
list-objects-filter.h
list-objects.c rev-list: detect broken root trees 6 years ago
list-objects.h
list.h
ll-merge.c
ll-merge.h
lockfile.c
lockfile.h
log-tree.c Merge branch 'wh/author-committer-ident-config' 6 years ago
log-tree.h
ls-refs.c Merge branch 'jt/namespaced-ls-refs-fix' 6 years ago
ls-refs.h
mailinfo.c
mailinfo.h
mailmap.c
mailmap.h
match-trees.c Use 'unsigned short' for mode, like diff_filespec does 6 years ago
mem-pool.c
mem-pool.h
merge-blobs.c
merge-blobs.h
merge-recursive.c Merge branch 'nd/sha1-name-c-wo-the-repository' 6 years ago
merge-recursive.h
merge.c
mergesort.c
mergesort.h
midx.c Merge branch 'jk/server-info-rabbit-hole' 6 years ago
midx.h midx: check both pack and index names for containment 6 years ago
name-hash.c
notes-cache.c
notes-cache.h
notes-merge.c notes-merge: switch to use the_hash_algo 6 years ago
notes-merge.h
notes-utils.c
notes-utils.h
notes.c notes: extract logic into set_display_notes() 5 years ago
notes.h notes: extract logic into set_display_notes() 5 years ago
object-store.h Merge branch 'jt/batch-fetch-blobs-in-diff' 6 years ago
object.c object: fix leak of shallow_stat 6 years ago
object.h
oidmap.c
oidmap.h
oidset.c
oidset.h khash: move oid hash table definition 6 years ago
pack-bitmap-write.c pack-bitmap: replace sha1_to_hex 6 years ago
pack-bitmap.c Merge branch 'bc/hash-transition-16' 6 years ago
pack-bitmap.h pack-bitmap: switch hash tables to use struct object_id 6 years ago
pack-check.c
pack-objects.c pack-objects: drop unused parameter from oe_map_new_pack() 6 years ago
pack-objects.h pack-objects: drop unused parameter from oe_map_new_pack() 6 years ago
pack-revindex.c pack-revindex: open index if necessary 6 years ago
pack-revindex.h pack-revindex: open index if necessary 6 years ago
pack-write.c
pack.h
packfile.c Merge branch 'nd/sha1-name-c-wo-the-repository' 6 years ago
packfile.h Merge branch 'nd/sha1-name-c-wo-the-repository' 6 years ago
pager.c trace2:data: add editor/pager child classification 6 years ago
parse-options-cb.c diff-parseopt: convert --[no-]abbrev 6 years ago
parse-options.c Merge branch 'js/difftool-no-index' 6 years ago
parse-options.h Merge branch 'dl/merge-cleanup-scissors-fix' 6 years ago
patch-delta.c
patch-ids.c
patch-ids.h
path.c Merge branch 'nd/rewritten-ref-is-per-worktree' 6 years ago
path.h
pathspec.c Merge branch 'nd/the-index-final' 6 years ago
pathspec.h
pkt-line.c pkt-line: prepare buffer before handling ERR packets 6 years ago
pkt-line.h remote-curl: use post_rpc() for protocol v2 also 6 years ago
preload-index.c
pretty.c pretty: drop unused strbuf from parse_padding_placeholder() 6 years ago
pretty.h Merge branch 'sb/more-repo-in-api' 6 years ago
prio-queue.c
prio-queue.h
progress.c Merge branch 'jk/xmalloc' 6 years ago
progress.h Merge branch 'sg/overlong-progress-fix' 6 years ago
prompt.c
prompt.h
protocol.c tests: define GIT_TEST_PROTOCOL_VERSION 6 years ago
protocol.h
quote.c
quote.h
range-diff.c
range-diff.h
reachable.c prune: use bitmaps for reachability traversal 6 years ago
reachable.h
read-cache.c Merge branch 'km/empty-repo-is-still-a-repo' 6 years ago
rebase-interactive.c rebase-interactive: rewrite edit_todo_list() to handle the initial edit 6 years ago
rebase-interactive.h rebase-interactive: rewrite edit_todo_list() to handle the initial edit 6 years ago
ref-filter.c Merge branch 'dr/ref-filter-push-track-fix' 6 years ago
ref-filter.h parse_opt_ref_sorting: always use with NONEG flag 6 years ago
reflog-walk.c
reflog-walk.h
refs.c refs.c: remove the_repo from read_ref_at() 6 years ago
refs.h refs.c: remove the_repo from read_ref_at() 6 years ago
refspec.c refspec: make hash size independent 6 years ago
refspec.h
remote-curl.c Merge branch 'bc/hash-transition-16' 6 years ago
remote-testsvn.c
remote.c Merge branch 'dr/ref-filter-push-track-fix' 6 years ago
remote.h Merge branch 'dr/ref-filter-push-track-fix' 6 years ago
replace-object.c
replace-object.h
repository.c Merge branch 'ma/clear-repository-format' 6 years ago
repository.h trace2: create new combined trace facility 6 years ago
rerere.c
rerere.h
resolve-undo.c
resolve-undo.h
revision.c notes: extract logic into set_display_notes() 5 years ago
revision.h Merge branch 'en/combined-all-paths' 6 years ago
run-command.c trace2: create new combined trace facility 6 years ago
run-command.h trace2: create new combined trace facility 6 years ago
send-pack.c Merge branch 'jk/loose-object-cache-oid' 6 years ago
send-pack.h
sequencer.c Merge branch 'dl/merge-cleanup-scissors-fix' 6 years ago
sequencer.h Merge branch 'dl/merge-cleanup-scissors-fix' 6 years ago
serve.c
serve.h
server-info.c update_info_refs(): drop unused force parameter 6 years ago
setup.c sha1-name.c: remove the_repo from maybe_die_on_misspelt_object_name 6 years ago
sh-i18n--envsubst.c trace2: create new combined trace facility 6 years ago
sha1-array.c
sha1-array.h
sha1-file.c Merge branch 'jt/batch-fetch-blobs-in-diff' 6 years ago
sha1-lookup.c
sha1-lookup.h
sha1-name.c Merge branch 'nd/sha1-name-c-wo-the-repository' 6 years ago
sha1dc_git.c
sha1dc_git.h
shallow.c
shell.c
shortlog.h
sideband.c Merge branch 'jt/fetch-v2-sideband' 6 years ago
sideband.h
sigchain.c
sigchain.h
split-index.c Merge branch 'nd/split-index-null-base-fix' 6 years ago
split-index.h
strbuf.c Merge branch 'ps/stash-in-c' 6 years ago
strbuf.h Merge branch 'ps/stash-in-c' 6 years ago
streaming.c Merge branch 'jk/loose-object-cache-oid' 6 years ago
streaming.h
string-list.c
string-list.h
sub-process.c trace2:data: add trace2 sub-process classification 6 years ago
sub-process.h
submodule-config.c submodule-config.c: use repo_get_oid for reading .gitmodules 6 years ago
submodule-config.h
submodule.c Merge branch 'bc/hash-transition-16' 6 years ago
submodule.h
symlinks.c
tag.c
tag.h
tar.h
tempfile.c
tempfile.h
thread-utils.c
thread-utils.h
tmp-objdir.c
tmp-objdir.h
trace.c
trace.h
trace2.c trace2: NULL is not allowed for va_list 6 years ago
trace2.h trace2: NULL is not allowed for va_list 6 years ago
trailer.c pretty: add support for separator option in %(trailers) 6 years ago
trailer.h pretty: add support for separator option in %(trailers) 6 years ago
transport-helper.c trace2:data: add trace2 transport child classification 6 years ago
transport-internal.h
transport.c Merge branch 'jt/clone-server-option' 6 years ago
transport.h
tree-diff.c Use 'unsigned short' for mode, like diff_filespec does 6 years ago
tree-walk.c Use 'unsigned short' for mode, like diff_filespec does 6 years ago
tree-walk.h Use 'unsigned short' for mode, like diff_filespec does 6 years ago
tree.c Merge branch 'nd/the-index-final' 6 years ago
tree.h
unicode-width.h unicode: update the width tables to Unicode 12 6 years ago
unimplemented.sh
unix-socket.c
unix-socket.h
unpack-trees.c Merge branch 'jt/batch-fetch-blobs-in-diff' 6 years ago
unpack-trees.h unpack-trees: rename "gently" flag to "quiet" 6 years ago
upload-pack.c Merge branch 'nd/sha1-name-c-wo-the-repository' 6 years ago
upload-pack.h
url.c
url.h
urlmatch.c
urlmatch.h
usage.c trace2: create new combined trace facility 6 years ago
userdiff.c
userdiff.h
utf8.c utf8: handle systems that don't write BOM for UTF-16 6 years ago
utf8.h Support working-tree-encoding "UTF-16LE-BOM" 6 years ago
varint.c
varint.h
version.c
version.h
versioncmp.c
walker.c
walker.h
wildmatch.c
wildmatch.h
worktree.c Merge branch 'jt/submodule-repo-is-with-worktree' 6 years ago
worktree.h
wrap-for-bin.sh
wrapper.c
write-or-die.c
ws.c
wt-status.c Merge branch 'dr/ref-filter-push-track-fix' 6 years ago
wt-status.h merge: cleanup messages like commit 6 years ago
xdiff-interface.c completion: add more parameter value completion 6 years ago
xdiff-interface.h
zlib.c

README.md

Build Status

Git - fast, scalable, distributed revision control system

Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals.

Git is an Open Source project covered by the GNU General Public License version 2 (some parts of it are under different licenses, compatible with the GPLv2). It was originally written by Linus Torvalds with help of a group of hackers around the net.

Please read the file INSTALL for installation instructions.

Many Git online resources are accessible from https://git-scm.com/ including full documentation and Git related tools.

See Documentation/gittutorial.txt to get started, then see Documentation/giteveryday.txt for a useful minimum set of commands, and Documentation/git-.txt for documentation of each command. If git has been correctly installed, then the tutorial can also be read with man gittutorial or git help tutorial, and the documentation of each command with man git-<commandname> or git help <commandname>.

CVS users may also want to read Documentation/gitcvs-migration.txt (man gitcvs-migration or git help cvs-migration if git is installed).

The user discussion and development of Git take place on the Git mailing list -- everyone is welcome to post bug reports, feature requests, comments and patches to git@vger.kernel.org (read Documentation/SubmittingPatches for instructions on patch submission). To subscribe to the list, send an email with just "subscribe git" in the body to majordomo@vger.kernel.org. The mailing list archives are available at https://public-inbox.org/git/, http://marc.info/?l=git and other archival sites.

Issues which are security relevant should be disclosed privately to the Git Security mailing list git-security@googlegroups.com.

The maintainer frequently sends the "What's cooking" reports that list the current status of various development topics to the mailing list. The discussion following them give a good reference for project status, development direction and remaining tasks.

The name "git" was given by Linus Torvalds when he wrote the very first version. He described the tool as "the stupid content tracker" and the name as (depending on your mood):

  • random three-letter combination that is pronounceable, and not actually used by any common UNIX command. The fact that it is a mispronunciation of "get" may or may not be relevant.
  • stupid. contemptible and despicable. simple. Take your pick from the dictionary of slang.
  • "global information tracker": you're in a good mood, and it actually works for you. Angels sing, and a light suddenly fills the room.
  • "goddamn idiotic truckload of sh*t": when it breaks