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.
 
 
 
 
 
 
Eric Wong 23dee69f53 OFFSETOF_VAR macro to simplify hashmap iterators 5 years ago
.github
Documentation First batch after Git 2.23 5 years ago
block-sha1
builtin OFFSETOF_VAR macro to simplify hashmap iterators 5 years ago
ci Merge branch 'sg/travis-gcc-4.8' 6 years ago
compat Merge branch 'rs/nedalloc-fixlets' 5 years ago
contrib coccicheck: detect hashmap_entry.hash assignment 5 years ago
ewah
git-gui
gitk-git
gitweb
mergetools
negotiator
perl
po l10n: zh_CN: for git v2.23.0 l10n round 1~2 6 years ago
ppc
refs Merge branch 'sc/pack-refs-deletion-racefix' 5 years ago
sha1collisiondetection@855827c583 sha1dc: update from upstream 6 years ago
sha1dc sha1dc: update from upstream 6 years ago
sha256
t OFFSETOF_VAR macro to simplify hashmap iterators 5 years ago
templates
trace2 Merge branch 'sg/trace2-rename' 6 years ago
vcs-svn
xdiff Merge branch 'cb/xdiff-no-system-includes-in-dot-c' into maint 6 years ago
.clang-format clang-format: use git grep to generate the ForEachMacros list 6 years ago
.editorconfig
.gitattributes Mark .bat files as requiring CR/LF endings 6 years ago
.gitignore Merge branch 'js/visual-studio' 6 years ago
.gitmodules
.mailmap .mailmap: update email address of Philip Oakley 6 years ago
.travis.yml travis-ci: build with GCC 4.8 as well 6 years ago
.tsan-suppressions
COPYING
GIT-VERSION-GEN First batch after Git 2.23 5 years ago
INSTALL
LGPL-2.1
Makefile Merge branch 'js/visual-studio' 6 years ago
README.md README: fix rendering of text in angle brackets 6 years ago
RelNotes First batch after Git 2.23 5 years ago
abspath.c
aclocal.m4
advice.c Merge branch 'ra/cherry-pick-revert-skip' 6 years ago
advice.h Merge branch 'ra/cherry-pick-revert-skip' 6 years ago
alias.c
alias.h
alloc.c
alloc.h
apply.c apply: make parse_git_diff_header public 6 years ago
apply.h apply: make parse_git_diff_header public 6 years ago
archive-tar.c
archive-zip.c
archive.c tree-walk.c: remove the_repo from get_tree_entry() 6 years ago
archive.h Merge branch 'dl/no-extern-in-func-decl' 6 years ago
argv-array.c
argv-array.h
attr.c OFFSETOF_VAR macro to simplify hashmap iterators 5 years ago
attr.h
azure-pipelines.yml
banned.h
base85.c
bisect.c
bisect.h
blame.c OFFSETOF_VAR macro to simplify hashmap iterators 5 years ago
blame.h Merge branch 'br/blame-ignore' 6 years ago
blob.c object: convert create_object() to use object_id 6 years ago
blob.h
branch.c Merge branch 'nd/switch-and-restore' 6 years ago
branch.h Merge branch 'nd/switch-and-restore' 6 years ago
builtin.h Merge branch 'ab/test-env' 6 years ago
bulk-checkin.c
bulk-checkin.h
bundle.c bundle verify: error out if called without an object database 6 years ago
bundle.h
cache-tree.c Merge branch 'jk/tree-walk-overflow' 5 years ago
cache-tree.h
cache.h Merge branch 'sg/rebase-progress' into maint 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
command-list.txt
commit-graph.c Merge branch 'sg/commit-graph-validate' 5 years ago
commit-graph.h commit-graph: error out on invalid commit oids in 'write --stdin-commits' 6 years ago
commit-reach.c
commit-reach.h
commit-slab-decl.h
commit-slab-impl.h
commit-slab.h
commit.c Merge branch 'ds/close-object-store' into maint 6 years ago
commit.h Merge branch 'dl/no-extern-in-func-decl' 6 years ago
common-main.c
config.c OFFSETOF_VAR macro to simplify hashmap iterators 5 years ago
config.h Merge branch 'dl/no-extern-in-func-decl' 6 years ago
config.mak.dev
config.mak.in
config.mak.uname vcxproj: also link-or-copy builtins 6 years ago
configure.ac configure: Detect linking style for HP aCC on HP-UX 6 years ago
connect.c
connect.h
connected.c check_everything_connected: assume alternate ref tips are valid 6 years ago
connected.h
convert.c
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
decorate.c hashmap: convert sha1hash() to oidhash() 6 years ago
decorate.h
delta-islands.c Merge branch 'jk/oidhash' 6 years ago
delta-islands.h delta-islands: respect progress flag 6 years ago
delta.h
detect-compiler
diff-delta.c
diff-lib.c mark_fsmonitor_valid(): mark the index as changed if needed 6 years ago
diff-no-index.c
diff.c OFFSETOF_VAR macro to simplify hashmap iterators 5 years ago
diff.h range-diff: suppress line count in outer diff 6 years ago
diffcore-break.c
diffcore-delta.c
diffcore-order.c
diffcore-pickaxe.c
diffcore-rename.c OFFSETOF_VAR macro to simplify hashmap iterators 5 years ago
diffcore.h
dir-iterator.c dir-iterator: add flags parameter to dir_iterator_begin 6 years ago
dir-iterator.h dir-iterator: add flags parameter to dir_iterator_begin 6 years ago
dir.c cleanup: fix possible overflow errors in binary search, part 2 6 years ago
dir.h Merge branch 'dl/no-extern-in-func-decl' 6 years ago
editor.c pager: add a helper function to clear the last line in the terminal 6 years ago
entry.c fill_stat_cache_info(): prepare for an fsmonitor fix 6 years ago
environment.c
exec-cmd.c
exec-cmd.h
fast-import.c Merge branch 'nd/tree-walk-with-repo' 6 years ago
fetch-negotiator.c
fetch-negotiator.h
fetch-object.c
fetch-object.h
fetch-pack.c Merge branch 'nd/fetch-capability-tweak' 6 years ago
fetch-pack.h
fmt-merge-msg.h
fsck.c Merge branch 'br/blame-ignore' 6 years ago
fsck.h
fsmonitor.c Merge branch 'cb/fsmonitor-intfix' into maint 6 years ago
fsmonitor.h mark_fsmonitor_valid(): mark the index as changed if needed 6 years ago
fuzz-commit-graph.c
fuzz-pack-headers.c
fuzz-pack-idx.c
generate-cmdlist.sh
gettext.c Merge branch 'ab/test-env' 6 years ago
gettext.h
git-add--interactive.perl Merge branch 'pw/add-p-recount' into maint 6 years ago
git-archimport.perl
git-bisect.sh
git-compat-util.h OFFSETOF_VAR macro to simplify hashmap iterators 5 years ago
git-cvsexportcommit.perl
git-cvsimport.perl
git-cvsserver.perl
git-difftool--helper.sh mergetool: use get_merge_tool function 6 years ago
git-filter-branch.sh
git-instaweb.sh
git-legacy-stash.sh
git-merge-octopus.sh
git-merge-one-file.sh
git-merge-resolve.sh
git-mergetool--lib.sh Merge branch 'dl/difftool-mergetool' 6 years ago
git-mergetool.sh mergetool: use shell variable magic instead of `awk` 6 years ago
git-p4.py Merge branch 'sw/git-p4-unshelve-branched-files' into maint 6 years ago
git-parse-remote.sh
git-quiltimport.sh
git-rebase--preserve-merges.sh rebase: fold git-rebase--common into the -p backend 6 years ago
git-request-pull.sh request-pull: warn if the remote object is not the same as the local one 6 years ago
git-send-email.perl Merge branch 'ab/send-email-transferencoding-fix' 6 years ago
git-sh-i18n.sh tests: make GIT_TEST_GETTEXT_POISON a boolean 6 years ago
git-sh-setup.sh
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/visual-studio' 6 years ago
git.rc mingw: embed a manifest to trick UAC into Doing The Right Thing 6 years ago
gpg-interface.c gpg-interface: do not scan past the end of buffer 6 years ago
gpg-interface.h
graph.c
graph.h
grep.c Merge branch 'bb/grep-pcre2-bug-message-fix' 6 years ago
grep.h
hash.h hash.h: move object_id definition from cache.h 6 years ago
hashmap.c hashmap: introduce hashmap_free_entries 5 years ago
hashmap.h OFFSETOF_VAR macro to simplify hashmap iterators 5 years ago
help.c Merge branch 'jk/help-unknown-ref-fix' 6 years ago
help.h
hex.c
http-backend.c
http-fetch.c
http-push.c object: convert lookup_object() to use object_id 6 years ago
http-walker.c
http.c Make fread/fwrite-like functions in http.c more like fread/fwrite. 6 years ago
http.h Merge branch 'dl/no-extern-in-func-decl' 6 years ago
ident.c
imap-send.c
interdiff.c
interdiff.h
iterator.h
json-writer.c
json-writer.h
khash.h hashmap: convert sha1hash() to oidhash() 6 years ago
kwset.c Merge branch 'rs/copy-array' into maint 6 years ago
kwset.h
levenshtein.c
levenshtein.h
line-log.c tree-walk.c: remove the_repo from get_tree_entry() 6 years ago
line-log.h
line-range.c
line-range.h
linear-assignment.c
linear-assignment.h
list-objects-filter-options.c Merge branch 'md/list-objects-filter-parse-msgfix' 6 years ago
list-objects-filter-options.h list-objects-filter: disable 'sparse:path' filters 6 years ago
list-objects-filter.c Merge branch 'md/list-objects-filter-memfix' into maint 6 years ago
list-objects-filter.h
list-objects.c
list-objects.h
list.h
ll-merge.c
ll-merge.h
lockfile.c
lockfile.h
log-tree.c
log-tree.h
ls-refs.c upload-pack: strip namespace from symref data 6 years ago
ls-refs.h
mailinfo.c
mailinfo.h
mailmap.c
mailmap.h
match-trees.c match-trees.c: remove the_repo from shift_tree*() 6 years ago
mem-pool.c
mem-pool.h
merge-blobs.c
merge-blobs.h
merge-recursive.c OFFSETOF_VAR macro to simplify hashmap iterators 5 years ago
merge-recursive.h
merge.c
mergesort.c
mergesort.h
midx.c midx: implement midx_repack() 6 years ago
midx.h multi-pack-index: prepare 'repack' subcommand 6 years ago
name-hash.c OFFSETOF_VAR macro to simplify hashmap iterators 5 years ago
notes-cache.c
notes-cache.h
notes-merge.c
notes-merge.h
notes-utils.c
notes-utils.h
notes.c tree-walk.c: remove the_repo from get_tree_entry() 6 years ago
notes.h
object-store.h Merge branch 'ds/object-info-for-prefetch-fix' into maint 6 years ago
object.c Merge branch 'jk/oidhash' 6 years ago
object.h object: convert create_object() to use object_id 6 years ago
oidmap.c hashmap: introduce hashmap_free_entries 5 years ago
oidmap.h hashmap: use *_entry APIs for iteration 5 years ago
oidset.c Merge branch 'br/blame-ignore' 6 years ago
oidset.h Merge branch 'br/blame-ignore' 6 years ago
pack-bitmap-write.c pack-bitmap: convert khash_sha1 maps into kh_oid_map 6 years ago
pack-bitmap.c pack-bitmap: convert khash_sha1 maps into kh_oid_map 6 years ago
pack-bitmap.h pack-bitmap: convert khash_sha1 maps into kh_oid_map 6 years ago
pack-check.c
pack-objects.c hashmap: convert sha1hash() to oidhash() 6 years ago
pack-objects.h pack-objects: convert packlist_find() to use object_id 6 years ago
pack-revindex.c
pack-revindex.h
pack-write.c
pack.h
packfile.c hashmap_cmp_fn takes hashmap_entry params 5 years ago
packfile.h Merge branch 'ds/close-object-store' into maint 6 years ago
pager.c pager: add a helper function to clear the last line in the terminal 6 years ago
parse-options-cb.c Merge branch 'nd/switch-and-restore' 6 years ago
parse-options.c Merge branch 'nd/diff-parseopt' 6 years ago
parse-options.h Merge branch 'nd/switch-and-restore' 6 years ago
patch-delta.c
patch-ids.c hashmap: introduce hashmap_free_entries 5 years ago
patch-ids.h format-patch: make --base patch-id output stable 6 years ago
path.c
path.h
pathspec.c
pathspec.h
pkt-line.c pkt-line: drop 'const'-ness of a param to set_packet_header() 6 years ago
pkt-line.h
preload-index.c mark_fsmonitor_valid(): mark the index as changed if needed 6 years ago
pretty.c use COPY_ARRAY for copying arrays 6 years ago
pretty.h
prio-queue.c
prio-queue.h
progress.c Merge branch 'dr/progress-i18n' 6 years ago
progress.h
prompt.c
prompt.h
protocol.c
protocol.h
quote.c
quote.h
range-diff.c hashmap: introduce hashmap_free_entries 5 years ago
range-diff.h
reachable.c object: convert lookup_object() to use object_id 6 years ago
reachable.h
read-cache.c Merge branch 'rs/avoid-overflow-in-midpoint-computation' into maint 6 years ago
rebase-interactive.c
rebase-interactive.h
ref-filter.c hashmap: introduce hashmap_free_entries 5 years ago
ref-filter.h
reflog-walk.c
reflog-walk.h
refs.c hashmap_cmp_fn takes hashmap_entry params 5 years ago
refs.h Merge branch 'nd/worktree-name-sanitization' 6 years ago
refspec.c
refspec.h
remote-curl.c i18n: fix typos found during l10n for git 2.22.0 6 years ago
remote-testsvn.c
remote.c hashmap: hashmap_{put,remove} return hashmap_entry * 5 years ago
remote.h Merge branch 'dl/no-extern-in-func-decl' 6 years ago
replace-object.c
replace-object.h
repository.c
repository.h
rerere.c
rerere.h
resolve-undo.c
resolve-undo.h
revision.c OFFSETOF_VAR macro to simplify hashmap iterators 5 years ago
revision.h
run-command.c
run-command.h
send-pack.c
send-pack.h
sequencer.c hashmap: introduce hashmap_free_entries 5 years ago
sequencer.h Merge branch 'ra/cherry-pick-revert-skip' 6 years ago
serve.c
serve.h
server-info.c Merge branch 'ew/server-info-remove-crufts' 6 years ago
setup.c
sh-i18n--envsubst.c cleanup: fix possible overflow errors in binary search, part 2 6 years ago
sha1-array.c
sha1-array.h
sha1-file.c sha1-file: release strbuf after use 6 years ago
sha1-lookup.c
sha1-lookup.h
sha1-name.c Merge branch 'nd/tree-walk-with-repo' 6 years ago
sha1dc_git.c
sha1dc_git.h
shallow.c Use the right 'struct repository' instead of the_repository 6 years ago
shell.c
shortlog.h
sideband.c
sideband.h
sigchain.c
sigchain.h
split-index.c
split-index.h
strbuf.c l10n: localizable upload progress messages 6 years ago
strbuf.h l10n: localizable upload progress messages 6 years ago
streaming.c
streaming.h
string-list.c
string-list.h
sub-process.c hashmap_cmp_fn takes hashmap_entry params 5 years ago
sub-process.h hashmap_cmp_fn takes hashmap_entry params 5 years ago
submodule-config.c OFFSETOF_VAR macro to simplify hashmap iterators 5 years ago
submodule-config.h
submodule.c submodule: drop unused prefix parameter from some functions 6 years ago
submodule.h submodule: drop unused prefix parameter from some functions 6 years ago
symlinks.c
tag.c object: convert create_object() to use object_id 6 years ago
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 Merge branch 'jh/trace2' 6 years ago
trace2.h trace2: rename environment variables to GIT_TRACE2* 6 years ago
trailer.c
trailer.h
transport-helper.c Merge branch 'es/local-atomic-push-failure-with-http' into maint 6 years ago
transport-internal.h
transport.c Merge branch 'es/local-atomic-push-failure-with-http' 6 years ago
transport.h object-store.h: move for_each_alternate_ref() from transport.h 6 years ago
tree-diff.c tree-walk.c: remove the_repo from fill_tree_descriptor() 6 years ago
tree-walk.c Merge branch 'jk/tree-walk-overflow' 5 years ago
tree-walk.h Merge branch 'jk/tree-walk-overflow' 5 years ago
tree.c object: convert create_object() to use object_id 6 years ago
tree.h
unicode-width.h Merge branch 'bb/unicode-12.1-reiwa' into maint 6 years ago
unimplemented.sh
unix-socket.c
unix-socket.h
unpack-trees.c Merge branch 'jk/tree-walk-overflow' 5 years ago
unpack-trees.h
upload-pack.c Merge branch 'ds/close-object-store' into maint 6 years ago
upload-pack.h
url.c url: do not allow %00 to represent NUL in URLs 6 years ago
url.h
urlmatch.c
urlmatch.h
usage.c
userdiff.c Merge branch 'ml/userdiff-rust' 6 years ago
userdiff.h
utf8.c
utf8.h
varint.c
varint.h
version.c
version.h
versioncmp.c
walker.c object: convert lookup_unknown_object() to use object_id 6 years ago
walker.h
wildmatch.c
wildmatch.h
worktree.c Merge branch 'nd/corrupt-worktrees' into maint 6 years ago
worktree.h
wrap-for-bin.sh
wrapper.c wrapper: avoid undefined behaviour in macOS 6 years ago
write-or-die.c
ws.c
wt-status.c Merge branch 'jl/status-reduce-vertical-blank' 6 years ago
wt-status.h Merge branch 'jk/no-system-includes-in-dot-c' 6 years ago
xdiff-interface.c
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-<commandname>.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