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.
 
 
 
 
 
 
Phillip Wood 4627bc777e sequencer: run post-commit hook 5 years ago
.github
Documentation RelNotes/2.21.1: typofix 6 years ago
block-sha1
builtin move run_commit_hook() to libgit and use it there 5 years ago
ci ci/lib.sh: update a comment about installed P4 and Git-LFS versions 6 years ago
compat Merge branch 'js/mingw-spawn-with-spaces-in-path' into maint 6 years ago
contrib Merge branch 'nd/completion-no-cache-failure' into maint 6 years ago
ewah
git-gui
gitk-git
gitweb
mergetools
negotiator
perl
po Merge branch 'fr_review' of git://github.com/jnavila/git 6 years ago
ppc *.[ch]: manually align parameter lists 6 years ago
refs
sha1collisiondetection@855827c583 sha1dc: update from upstream 6 years ago
sha1dc sha1dc: update from upstream 6 years ago
sha256
t sequencer: run post-commit hook 5 years ago
templates
trace2 Merge branch 'sg/trace2-rename' 6 years ago
vcs-svn *.[ch]: manually align parameter lists 6 years ago
xdiff
.clang-format clang-format: use git grep to generate the ForEachMacros list 6 years ago
.editorconfig
.gitattributes
.gitignore Merge branch 'js/misc-doc-fixes' 6 years ago
.gitmodules
.mailmap
.travis.yml
.tsan-suppressions
COPYING
GIT-VERSION-GEN Git 2.22 6 years ago
INSTALL
LGPL-2.1
Makefile Merge branch 'jk/cocci-batch' 6 years ago
README.md README: fix rendering of text in angle brackets 6 years ago
RelNotes Flush fixes up to the third batch post 2.22.0 6 years ago
abspath.c
aclocal.m4
advice.c
advice.h Merge branch 'dl/no-extern-in-func-decl' 6 years ago
alias.c
alias.h
alloc.c
alloc.h
apply.c fill_stat_cache_info(): prepare for an fsmonitor fix 6 years ago
apply.h
archive-tar.c
archive-zip.c
archive.c Merge branch 'en/merge-directory-renames' 6 years ago
archive.h Merge branch 'dl/no-extern-in-func-decl' 6 years ago
argv-array.c
argv-array.h
attr.c
attr.h
azure-pipelines.yml
banned.h
base85.c
bisect.c
bisect.h *.[ch]: manually align parameter lists 6 years ago
blame.c Merge branch 'en/merge-directory-renames' 6 years ago
blame.h Merge branch 'dl/no-extern-in-func-decl' 6 years ago
blob.c
blob.h
branch.c Merge branch 'dl/branch-from-3dot-merge-base' 6 years ago
branch.h *.[ch]: manually align parameter lists 6 years ago
builtin.h Merge branch 'dl/no-extern-in-func-decl' 6 years ago
bulk-checkin.c
bulk-checkin.h *.[ch]: manually align parameter lists 6 years ago
bundle.c bundle verify: error out if called without an object database 6 years ago
bundle.h
cache-tree.c
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 *.[ch]: manually align parameter lists 6 years ago
color.c
color.h
column.c
column.h *.[ch]: manually align parameter lists 6 years ago
combine-diff.c
command-list.txt
commit-graph.c Merge branch 'ds/close-object-store' into maint 6 years ago
commit-graph.h commit-graph: use raw_object_store when closing 6 years ago
commit-reach.c
commit-reach.h
commit-slab-decl.h
commit-slab-impl.h
commit-slab.h
commit.c move run_commit_hook() to libgit and use it there 5 years ago
commit.h Merge branch 'dl/no-extern-in-func-decl' 6 years ago
common-main.c
config.c config: simplify parsing of unit factors 6 years ago
config.h Merge branch 'dl/no-extern-in-func-decl' 6 years ago
config.mak.dev
config.mak.in
config.mak.uname Merge branch 'id/windows-dep-aslr' 6 years ago
configure.ac
connect.c
connect.h *.[ch]: manually align parameter lists 6 years ago
connected.c
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 *.[ch]: remove extern from function declarations using spatch 6 years ago
ctype.c
daemon.c
date.c
decorate.c
decorate.h *.[ch]: remove extern from function declarations using spatch 6 years ago
delta-islands.c delta-islands: respect progress flag 6 years ago
delta-islands.h delta-islands: respect progress flag 6 years ago
delta.h *.[ch]: manually align parameter lists 6 years ago
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 Merge branch 'js/unmap-before-ext-diff' into maint 6 years ago
diff.h Merge branch 'nd/diff-parseopt' 6 years ago
diffcore-break.c
diffcore-delta.c
diffcore-order.c
diffcore-pickaxe.c
diffcore-rename.c cleanup: fix possible overflow errors in binary search, part 2 6 years ago
diffcore.h
dir-iterator.c
dir-iterator.h
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 *.[ch]: remove extern from function declarations using sed 6 years ago
fast-import.c use COPY_ARRAY for copying arrays 6 years ago
fetch-negotiator.c
fetch-negotiator.h
fetch-object.c
fetch-object.h
fetch-pack.c Merge branch 'jt/clone-server-option' 6 years ago
fetch-pack.h
fmt-merge-msg.h *.[ch]: remove extern from function declarations using spatch 6 years ago
fsck.c
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
gettext.h *.[ch]: remove extern from function declarations using spatch 6 years ago
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 Merge branch 'cc/access-on-aix-workaround' 6 years ago
git-cvsexportcommit.perl cvsexportcommit: force crlf translation 6 years ago
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 get_merge_tool function 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--am.sh
git-rebase--common.sh
git-rebase--preserve-merges.sh
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 'bs/sendemail-tighten-anything-by' 6 years ago
git-sh-i18n.sh
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/misc-doc-fixes' 6 years ago
git.rc
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 grep: fail if call could output and name is null 6 years ago
grep.h *.[ch]: remove extern from function declarations using spatch 6 years ago
hash.h
hashmap.c
hashmap.h *.[ch]: remove extern from function declarations using spatch 6 years ago
help.c
help.h *.[ch]: manually align parameter lists 6 years ago
hex.c
http-backend.c
http-fetch.c
http-push.c Merge branch 'cb/http-push-null-in-message-fix' 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 Merge branch 'dl/no-extern-in-func-decl' 6 years ago
kwset.c Merge branch 'rs/copy-array' into maint 6 years ago
kwset.h *.[ch]: remove extern from function declarations using spatch 6 years ago
levenshtein.c
levenshtein.h
line-log.c Merge branch 'en/merge-directory-renames' 6 years ago
line-log.h *.[ch]: remove extern from function declarations using spatch 6 years ago
line-range.c
line-range.h
linear-assignment.c
linear-assignment.h
list-objects-filter-options.c list-objects-filter: disable 'sparse:path' filters 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 *.[ch]: manually align parameter lists 6 years ago
log-tree.c
log-tree.h
ls-refs.c upload-pack: strip namespace from symref data 6 years ago
ls-refs.h *.[ch]: manually align parameter lists 6 years ago
mailinfo.c
mailinfo.h *.[ch]: remove extern from function declarations using spatch 6 years ago
mailmap.c
mailmap.h
match-trees.c
mem-pool.c
mem-pool.h
merge-blobs.c
merge-blobs.h *.[ch]: manually align parameter lists 6 years ago
merge-recursive.c Merge branch 'en/merge-directory-renames-fix' 6 years ago
merge-recursive.h
merge.c
mergesort.c
mergesort.h
midx.c midx: add packs to packed_git linked list 6 years ago
midx.h midx: pass a repository pointer 6 years ago
name-hash.c cleanup: fix possible overflow errors in binary search, part 2 6 years ago
notes-cache.c
notes-cache.h
notes-merge.c
notes-merge.h
notes-utils.c
notes-utils.h
notes.c Merge branch 'en/merge-directory-renames' 6 years ago
notes.h notes: correct documentation of format_display_notes() 6 years ago
object-store.h Merge branch 'ds/object-info-for-prefetch-fix' into maint 6 years ago
object.c packfile: rename close_all_packs to close_object_store 6 years ago
object.h *.[ch]: remove extern from function declarations using spatch 6 years ago
oidmap.c
oidmap.h *.[ch]: manually align parameter lists 6 years ago
oidset.c
oidset.h
pack-bitmap-write.c
pack-bitmap.c
pack-bitmap.h
pack-check.c
pack-objects.c
pack-objects.h
pack-revindex.c
pack-revindex.h
pack-write.c
pack.h *.[ch]: manually align parameter lists 6 years ago
packfile.c Merge branch 'ds/close-object-store' into maint 6 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/diff-parseopt' 6 years ago
parse-options.c Merge branch 'nd/diff-parseopt' 6 years ago
parse-options.h Merge branch 'js/parseopt-unknown-cb-returns-an-enum' 6 years ago
patch-delta.c
patch-ids.c
patch-ids.h
path.c
path.h *.[ch]: manually align parameter lists 6 years ago
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 *.[ch]: manually align parameter lists 6 years ago
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 *.[ch]: remove extern from function declarations using spatch 6 years ago
progress.c progress: use term_clear_line() 6 years ago
progress.h
prompt.c
prompt.h
protocol.c
protocol.h *.[ch]: remove extern from function declarations using spatch 6 years ago
quote.c
quote.h *.[ch]: manually align parameter lists 6 years ago
range-diff.c
range-diff.h
reachable.c
reachable.h *.[ch]: manually align parameter lists 6 years ago
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 Merge branch 'dr/ref-filter-push-track-fix' 6 years ago
ref-filter.h
reflog-walk.c
reflog-walk.h *.[ch]: manually align parameter lists 6 years ago
refs.c
refs.h Merge branch 'dl/no-extern-in-func-decl' 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 Merge branch 'dr/ref-filter-push-track-fix' 6 years ago
remote.h Merge branch 'dl/no-extern-in-func-decl' 6 years ago
replace-object.c
replace-object.h *.[ch]: manually align parameter lists 6 years ago
repository.c
repository.h
rerere.c
rerere.h
resolve-undo.c
resolve-undo.h *.[ch]: remove extern from function declarations using spatch 6 years ago
revision.c
revision.h
run-command.c
run-command.h *.[ch]: remove extern from function declarations using sed 6 years ago
send-pack.c
send-pack.h
sequencer.c sequencer: run post-commit hook 5 years ago
sequencer.h sequencer.h fix placement of #endif 5 years ago
serve.c
serve.h *.[ch]: manually align parameter lists 6 years ago
server-info.c server-info: do not list unlinked packs 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 Merge branch 'ds/object-info-for-prefetch-fix' into maint 6 years ago
sha1-lookup.c
sha1-lookup.h *.[ch]: manually align parameter lists 6 years ago
sha1-name.c Merge branch 'jk/get-oid-indexed-object-name' 6 years ago
sha1dc_git.c
sha1dc_git.h
shallow.c
shell.c
shortlog.h
sideband.c
sideband.h
sigchain.c
sigchain.h
split-index.c
split-index.h
strbuf.c
strbuf.h
streaming.c
streaming.h *.[ch]: remove extern from function declarations using spatch 6 years ago
string-list.c
string-list.h *.[ch]: manually align parameter lists 6 years ago
sub-process.c
sub-process.h *.[ch]: manually align parameter lists 6 years ago
submodule-config.c
submodule-config.h *.[ch]: manually align parameter lists 6 years ago
submodule.c
submodule.h
symlinks.c
tag.c
tag.h *.[ch]: manually align parameter lists 6 years ago
tar.h
tempfile.c
tempfile.h *.[ch]: manually align parameter lists 6 years ago
thread-utils.c
thread-utils.h
tmp-objdir.c
tmp-objdir.h
trace.c
trace.h *.[ch]: manually align parameter lists 6 years ago
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 transport-helper: avoid var decl in for () loop control 6 years ago
transport.h *.[ch]: remove extern from function declarations using spatch 6 years ago
tree-diff.c
tree-walk.c
tree-walk.h Merge branch 'dl/no-extern-in-func-decl' 6 years ago
tree.c
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
unpack-trees.h
upload-pack.c Merge branch 'ds/close-object-store' into maint 6 years ago
upload-pack.h *.[ch]: manually align parameter lists 6 years ago
url.c url: do not allow %00 to represent NUL in URLs 6 years ago
url.h *.[ch]: remove extern from function declarations using spatch 6 years ago
urlmatch.c
urlmatch.h *.[ch]: remove extern from function declarations using spatch 6 years ago
usage.c
userdiff.c
userdiff.h
utf8.c
utf8.h *.[ch]: remove extern from function declarations using spatch 6 years ago
varint.c
varint.h *.[ch]: remove extern from function declarations using spatch 6 years ago
version.c
version.h
versioncmp.c
walker.c
walker.h
wildmatch.c
wildmatch.h
worktree.c Merge branch 'nd/corrupt-worktrees' into maint 6 years ago
worktree.h *.[ch]: manually align parameter lists 6 years ago
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 'js/rebase-i-label-shown-in-status-fix' 6 years ago
wt-status.h
xdiff-interface.c
xdiff-interface.h *.[ch]: manually align parameter lists 6 years ago
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