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.
 
 
 
 
 
 
Christian Couder 70af7662d4 builtin/apply: make gitdiff_*() return 1 at end of header 9 years ago
Documentation Sync with maint 9 years ago
block-sha1
builtin builtin/apply: make gitdiff_*() return 1 at end of header 9 years ago
ci travis-ci: build documentation 9 years ago
compat Merge branch 'ew/daemon-socket-keepalive' 9 years ago
contrib Merge branch 'nd/worktree-lock' 9 years ago
ewah ewah: convert to REALLOC_ARRAY, etc 9 years ago
git-gui
gitk-git Merge branch 'master' of git://ozlabs.org/~paulus/gitk 9 years ago
gitweb Merge branch 'sk/gitweb-highlight-encoding' into HEAD 9 years ago
mergetools mergetools: add support for ExamDiff 9 years ago
perl git-svn: warn instead of dying when commit data is missing 9 years ago
po Merge branch 'va/i18n-even-more' 9 years ago
ppc
refs Merge branch 'mh/ref-iterators' 9 years ago
t builtin/apply: make parse_single_patch() return -1 on error 9 years ago
templates Merge branch 'ma/update-hooks-sample-typofix' into maint 9 years ago
vcs-svn vcs-svn: use error_errno() 9 years ago
xdiff Merge branch 'js/ignore-space-at-eol' 9 years ago
.gitattributes .gitattributes: set file type for C files 9 years ago
.gitignore test helpers: move test-* to t/helper/ subdirectory 9 years ago
.mailmap mailmap: use main email address for dturner 9 years ago
.travis.yml Merge branch 'ls/travis-enable-httpd-tests' 9 years ago
COPYING
GIT-VERSION-GEN Git 2.9.2 9 years ago
INSTALL
LGPL-2.1
Makefile builtin/apply: move init_apply_state() to apply.c 9 years ago
README.md README.md: format CLI commands with code syntax 9 years ago
RelNotes Some fixes for 2.9.3 9 years ago
abspath.c Windows: shorten code by re-using convert_slashes() 9 years ago
aclocal.m4
advice.c i18n: advice: internationalize message for conflicts 9 years ago
advice.h
alias.c convert trivial cases to ALLOC_ARRAY 9 years ago
alloc.c
apply.c builtin/apply: move check_apply_state() to apply.c 9 years ago
apply.h builtin/apply: move check_apply_state() to apply.c 9 years ago
archive-tar.c archive-tar: huge offset and future timestamps would not work on 32-bit 9 years ago
archive-zip.c
archive.c pathspec: rename free_pathspec() to clear_pathspec() 9 years ago
archive.h
argv-array.c argv-array: add detach function 9 years ago
argv-array.h argv-array: add detach function 9 years ago
attr.c Merge branch 'ss/exc-flag-is-a-collection-of-bits' into maint 9 years ago
attr.h
base85.c
bisect.c Merge branch 'jk/printf-format' 9 years ago
bisect.h
blob.c
blob.h
branch.c worktree.c: check whether branch is rebased in another worktree 9 years ago
branch.h worktree.c: check whether branch is rebased in another worktree 9 years ago
builtin.h
bulk-checkin.c
bulk-checkin.h
bundle.c bundle: don't leak an fd in case of early return 9 years ago
bundle.h
cache-tree.c cache-tree: do not generate empty trees as a result of all i-t-a subentries 9 years ago
cache-tree.h
cache.h Merge branch 'nd/pack-ofs-4gb-limit' 9 years ago
check-builtins.sh
check-racy.c check-racy.c: use error_errno() 9 years ago
check_bindir
color.c Merge branch 'jk/ansi-color' 9 years ago
color.h Merge branch 'js/color-on-windows-comment' into maint 9 years ago
column.c use xmallocz to avoid size arithmetic 9 years ago
column.h
combine-diff.c Merge branch 'bc/cocci' 9 years ago
command-list.txt
commit-slab.h
commit.c Merge branch 'js/sign-empty-commit-fix' into maint 9 years ago
commit.h Merge branch 'js/find-commit-subject-ignore-leading-blanks' into maint 9 years ago
common-main.c mingw: declare main()'s argv as const 9 years ago
config.c Merge branch 'jk/upload-pack-hook' 9 years ago
config.mak.in
config.mak.uname Merge branch 'ew/find-perl-on-freebsd-in-local' 9 years ago
configure.ac Merge branch 'ew/autoconf-pthread' 9 years ago
connect.c connect: read $GIT_SSH_COMMAND from config file 9 years ago
connect.h connect & http: support -4 and -6 switches for remote operations 9 years ago
connected.c connected.c: use error_errno() 9 years ago
connected.h
convert.c convert: unify the "auto" handling of CRLF 9 years ago
convert.h convert: unify the "auto" handling of CRLF 9 years ago
copy.c copy.c: use error_errno() 9 years ago
credential-cache--daemon.c Merge branch 'jk/common-main-2.8' into jk/common-main 9 years ago
credential-cache.c add an extra level of indirection to main() 9 years ago
credential-store.c add an extra level of indirection to main() 9 years ago
credential.c credential: let empty credential specs reset helper list 9 years ago
credential.h
csum-file.c
csum-file.h
ctype.c
daemon.c Merge branch 'ew/daemon-socket-keepalive' 9 years ago
date.c local_tzoffset: detect errors from tm_to_time_t 9 years ago
decorate.c
decorate.h
delta.h
diff-delta.c
diff-lib.c
diff-no-index.c diff-no-index.c: use error_errno() 9 years ago
diff.c Merge branch 'bc/cocci' 9 years ago
diff.h Merge branch 'mm/diff-renames-default' 9 years ago
diffcore-break.c diff: rename struct diff_filespec's sha1_valid member 9 years ago
diffcore-delta.c use st_add and st_mult for allocation size computation 9 years ago
diffcore-order.c convert trivial cases to ALLOC_ARRAY 9 years ago
diffcore-pickaxe.c diffcore-pickaxe: support case insensitive match on non-ascii 9 years ago
diffcore-rename.c diff: rename struct diff_filespec's sha1_valid member 9 years ago
diffcore.h diff: rename struct diff_filespec's sha1_valid member 9 years ago
dir-iterator.c dir_iterator: new API for iterating over a directory tree 9 years ago
dir-iterator.h dir_iterator: new API for iterating over a directory tree 9 years ago
dir.c Merge branch 'rs/use-strbuf-addbuf' 9 years ago
dir.h Merge branch 'mh/split-under-lock' 9 years ago
editor.c editor.c: use error_errno() 9 years ago
entry.c entry.c: use error_errno() 9 years ago
environment.c Merge branch 'js/windows-dotgit' into maint 9 years ago
exec_cmd.c Merge branch 'ak/extract-argv0-last-dir-sep' into maint 9 years ago
exec_cmd.h prepare_{git,shell}_cmd: use argv_array 9 years ago
fast-import.c Merge branch 'jk/common-main' 9 years ago
fetch-pack.c fetch-pack: isolate sigpipe in demuxer thread 9 years ago
fetch-pack.h
fmt-merge-msg.h
fsck.c fsck: optionally show more helpful info for broken links 9 years ago
fsck.h fsck: give the error function a chance to see the fsck_options 9 years ago
generate-cmdlist.sh
gettext.c gettext: add is_utf8_locale() 9 years ago
gettext.h gettext: add is_utf8_locale() 9 years ago
git-add--interactive.perl add--interactive: respect diff.compactionHeuristic 9 years ago
git-archimport.perl
git-bisect.sh i18n: unmark die messages for translation 9 years ago
git-compat-util.h Merge branch 'jk/common-main' 9 years ago
git-cvsexportcommit.perl
git-cvsimport.perl
git-cvsserver.perl typofix: assorted typofixes in comments, documentation and messages 9 years ago
git-difftool--helper.sh difftool/mergetool: make the form of yes/no questions consistent 9 years ago
git-difftool.perl difftool: handle unmerged files in dir-diff mode 9 years ago
git-filter-branch.sh Merge branch 'jk/filter-branch-no-index' into maint 9 years ago
git-instaweb.sh
git-merge-octopus.sh i18n: git-sh-setup.sh: mark strings for translation 9 years ago
git-merge-one-file.sh Merge branch 'jk/no-diff-emit-common' into maint 9 years ago
git-merge-resolve.sh
git-mergetool--lib.sh Merge branch 'nf/mergetool-prompt' 9 years ago
git-mergetool.sh Merge branch 'nf/mergetool-prompt' into HEAD 9 years ago
git-p4.py Merge branch 'ls/p4-tmp-refs' 9 years ago
git-parse-remote.sh i18n: git-parse-remote.sh: mark strings for translation 9 years ago
git-quiltimport.sh
git-rebase--am.sh rebase: update comment about FreeBSD /bin/sh 9 years ago
git-rebase--interactive.sh Merge branch 'ps/rebase-i-auto-unstash-upon-abort' into maint 9 years ago
git-rebase--merge.sh Merge branch 'em/newer-freebsd-shells-are-fine-with-returns' into maint 9 years ago
git-rebase.sh i18n: git-sh-setup.sh: mark strings for translation 9 years ago
git-relink.perl
git-remote-testgit.sh
git-request-pull.sh
git-send-email.perl Merge branch 'jc/send-email-skip-backup' 9 years ago
git-sh-i18n.sh i18n: rebase-interactive: mark here-doc strings for translation 9 years ago
git-sh-setup.sh Merge branch 'va/i18n-even-more' 9 years ago
git-stash.sh i18n: git-sh-setup.sh: mark strings for translation 9 years ago
git-submodule.sh Merge branch 'sb/submodule-deinit-all' 9 years ago
git-svn.perl git-svn: allow --version to work anywhere 9 years ago
git-web--browse.sh
git.c common-main: call git_setup_gettext() 9 years ago
git.rc
gpg-interface.c gpg-interface: check gpg signature creation status 9 years ago
gpg-interface.h
graph.c Merge branch 'js/log-to-diffopt-file' 9 years ago
graph.h pretty: pass graph width to pretty formatting for use in '%>|(N)' 9 years ago
grep.c Merge branch 'nd/icase' into maint 9 years ago
grep.h grep/pcre: prepare locale-dependent tables for icase matching 9 years ago
hashmap.c convert trivial cases to FLEX_ARRAY macros 9 years ago
hashmap.h
help.c t0006: skip "far in the future" test when unsigned long is not long enough 9 years ago
help.h
hex.c hex: add oid_to_hex_r() 9 years ago
http-backend.c Merge branch 'jk/common-main-2.8' into jk/common-main 9 years ago
http-fetch.c common-main: call git_setup_gettext() 9 years ago
http-push.c Merge branch 'jk/common-main-2.8' into jk/common-main 9 years ago
http-walker.c
http.c Merge branch 'ep/http-curl-trace' 9 years ago
http.h Merge branch 'ep/http-curl-trace' 9 years ago
ident.c Merge branch 'da/user-useconfigonly' into HEAD 9 years ago
imap-send.c Merge branch 'jk/common-main' 9 years ago
iterator.h refs: introduce an iterator interface 9 years ago
khash.h convert trivial cases to ALLOC_ARRAY 9 years ago
kwset.c
kwset.h
levenshtein.c convert trivial cases to ALLOC_ARRAY 9 years ago
levenshtein.h
line-log.c Merge branch 'bc/cocci' 9 years ago
line-log.h
line-range.c
line-range.h
list-objects.c struct name_entry: use struct object_id instead of unsigned char sha1[20] 9 years ago
list-objects.h list-objects: pass full pathname to callbacks 9 years ago
ll-merge.c Merge branch 'jc/ll-merge-internal' 9 years ago
ll-merge.h
lockfile.c lockfile: improve error message when lockfile exists 9 years ago
lockfile.h
log-tree.c Merge branch 'js/log-to-diffopt-file' 9 years ago
log-tree.h
mailinfo.c strbuf: introduce strbuf_getline_{lf,nul}() 9 years ago
mailinfo.h
mailmap.c Merge branch 'nd/error-errno' 9 years ago
mailmap.h
match-trees.c match-trees: convert several leaf functions to use struct object_id 9 years ago
merge-blobs.c Merge branch 'jk/no-diff-emit-common' into maint 9 years ago
merge-blobs.h
merge-recursive.c Merge branch 'jc/renormalize-merge-kill-safer-crlf' 9 years ago
merge-recursive.h merge-recursive: convert merge_recursive_generic() to object_id 9 years ago
merge.c
mergesort.c
mergesort.h
name-hash.c convert trivial cases to FLEX_ARRAY macros 9 years ago
notes-cache.c notes: allow treeish expressions as notes ref 9 years ago
notes-cache.h
notes-merge.c Merge branch 'rs/notes-merge-no-toctou' 9 years ago
notes-merge.h
notes-utils.c notes: allow treeish expressions as notes ref 9 years ago
notes-utils.h
notes.c use string_list initializer consistently 9 years ago
notes.h Merge branch 'jk/notes-merge-from-anywhere' 9 years ago
object.c
object.h
pack-bitmap-write.c Merge branch 'jk/path-name-safety-2.6' into jk/path-name-safety-2.7 9 years ago
pack-bitmap.c Merge branch 'jk/path-name-safety-2.6' into jk/path-name-safety-2.7 9 years ago
pack-bitmap.h
pack-check.c fsck: use streaming interface for large blobs in pack 9 years ago
pack-objects.c
pack-objects.h
pack-revindex.c Merge branch 'jk/tighten-alloc' 9 years ago
pack-revindex.h
pack-write.c
pack.h fsck: use streaming interface for large blobs in pack 9 years ago
pager.c Merge branch 'jc/am-i-v-fix' into maint 9 years ago
parse-options-cb.c Merge branch 'jk/parseopt-string-list' into jk/string-list-static-init 9 years ago
parse-options.c parse-options.c: make OPTION_COUNTUP respect "unspecified" values 9 years ago
parse-options.h
patch-delta.c
patch-ids.c patch-ids: make commit_patch_id() a public helper function 9 years ago
patch-ids.h patch-ids: make commit_patch_id() a public helper function 9 years ago
path.c Merge branch 'rs/use-strbuf-addbuf' 9 years ago
pathspec.c pathspec: rename free_pathspec() to clear_pathspec() 9 years ago
pathspec.h pathspec: rename free_pathspec() to clear_pathspec() 9 years ago
pkt-line.c
pkt-line.h
preload-index.c
pretty.c Merge branch 'js/find-commit-subject-ignore-leading-blanks' into maint 9 years ago
prio-queue.c
prio-queue.h
progress.c use xmallocz to avoid size arithmetic 9 years ago
progress.h
prompt.c
prompt.h
quote.c Merge branch 'nd/icase' into maint 9 years ago
quote.h Merge branch 'nd/icase' into maint 9 years ago
reachable.c reachable.c: use error_errno() 9 years ago
reachable.h
read-cache.c Merge branch 'jc/renormalize-merge-kill-safer-crlf' 9 years ago
ref-filter.c ref-filter.c: mark strings for translation 9 years ago
ref-filter.h
reflog-walk.c reflog: continue walking the reflog past root commits 9 years ago
reflog-walk.h
refs.c do_for_each_ref(): reimplement using reference iteration 9 years ago
refs.h Merge branch 'mh/ref-iterators' 9 years ago
remote-curl.c Merge branch 'jk/common-main-2.8' into jk/common-main 9 years ago
remote-testsvn.c common-main: call git_extract_argv0_path() 9 years ago
remote.c Merge branch 'nd/remote-plural-ours-plus-theirs' into maint 9 years ago
remote.h remote: simplify remote_is_configured() 9 years ago
replace_object.c
rerere.c Merge branch 'jc/rerere-multi' 9 years ago
rerere.h Merge branch 'jc/rerere-multi' 9 years ago
resolve-undo.c
resolve-undo.h
revision.c Merge branch 'mj/log-show-signature-conf' 9 years ago
revision.h Merge branch 'lt/pretty-expand-tabs' 9 years ago
run-command.c run-command: add pipe_command helper 9 years ago
run-command.h run-command: add pipe_command helper 9 years ago
send-pack.c send-pack: use buffered I/O to talk to pack-objects 9 years ago
send-pack.h
sequencer.c Merge branch 'js/find-commit-subject-ignore-leading-blanks' into maint 9 years ago
sequencer.h
server-info.c server-info.c: use error_errno() 9 years ago
setup.c i18n: setup: mark strings for translation 9 years ago
sh-i18n--envsubst.c add an extra level of indirection to main() 9 years ago
sha1-array.c
sha1-array.h
sha1-lookup.c
sha1-lookup.h
sha1_file.c Merge branch 'nd/pack-ofs-4gb-limit' 9 years ago
sha1_name.c Merge branch 'bc/object-id' 9 years ago
shallow.c use st_add and st_mult for allocation size computation 9 years ago
shell.c common-main: call git_setup_gettext() 9 years ago
shortlog.h shortlog: support outputting to streams other than stdout 9 years ago
show-index.c common-main: call git_setup_gettext() 9 years ago
sideband.c Merge branch 'lf/recv-sideband-cleanup' 9 years ago
sideband.h sideband.c: make send_sideband() return void 9 years ago
sigchain.c
sigchain.h
split-index.c typofix: assorted typofixes in comments, documentation and messages 9 years ago
split-index.h
strbuf.c Merge branch 'rs/use-strbuf-addbuf' 9 years ago
strbuf.h Merge branch 'rs/use-strbuf-addbuf' 9 years ago
streaming.c
streaming.h
string-list.c string_list: use string-list API in unsorted_string_list_lookup() 9 years ago
string-list.h
submodule-config.c Merge branch 'bc/cocci' 9 years ago
submodule-config.h submodule-config: keep shallow recommendation around 9 years ago
submodule.c Merge branch 'bc/cocci' 9 years ago
submodule.h Merge branch 'jk/submodule-c-credential' 9 years ago
symlinks.c
tag.c verify-tag: move tag verification code to tag.c 9 years ago
tag.h verify-tag: move tag verification code to tag.c 9 years ago
tar.h
tempfile.c
tempfile.h
thread-utils.c
thread-utils.h
trace.c
trace.h
trailer.c trailer.c: mark strings for translation 9 years ago
trailer.h interpret-trailers: add option for in-place editing 9 years ago
transport-helper.c i18n: transport-helper.c: change N_() call to _() 9 years ago
transport.c Merge branch 'jk/push-scrub-url' 9 years ago
transport.h connect & http: support -4 and -6 switches for remote operations 9 years ago
tree-diff.c Merge branch 'jk/avoid-unbounded-alloca' into maint 9 years ago
tree-walk.c tree-walk: convert tree_entry_extract() to use struct object_id 9 years ago
tree-walk.h tree-walk: convert tree_entry_extract() to use struct object_id 9 years ago
tree.c struct name_entry: use struct object_id instead of unsigned char sha1[20] 9 years ago
tree.h
unicode_width.h
unimplemented.sh
unix-socket.c
unix-socket.h
unpack-trees.c unpack-trees: fix English grammar in do-this-before-that messages 9 years ago
unpack-trees.h
update_unicode.sh
upload-pack.c Merge branch 'jk/common-main' 9 years ago
url.c
url.h
urlmatch.c
urlmatch.h
usage.c usage.c: add warning_errno() and error_errno() 9 years ago
userdiff.c userdiff: add built-in pattern for CSS 9 years ago
userdiff.h diff: clarify textconv interface 9 years ago
utf8.c
utf8.h typofix: assorted typofixes in comments, documentation and messages 9 years ago
varint.c
varint.h
version.c
version.h
versioncmp.c
walker.c walker: let walker_say take arbitrary formats 9 years ago
walker.h walker: let walker_say take arbitrary formats 9 years ago
wildmatch.c typofix: assorted typofixes in comments, documentation and messages 9 years ago
wildmatch.h
worktree.c Merge branch 'nd/worktree-lock' 9 years ago
worktree.h worktree.c: add is_worktree_locked() 9 years ago
wrap-for-bin.sh wrap-for-bin.sh: regenerate bin-wrappers when switching branches 9 years ago
wrapper.c Merge branch 'sb/submodule-parallel-fetch' into maint 9 years ago
write_or_die.c write_or_die: remove the unused write_or_whine() function 9 years ago
ws.c
wt-status.c Merge branch 'rs/use-strbuf-addbuf' 9 years ago
wt-status.h wt-status.c: split bisect detection out of wt_status_get_state() 9 years ago
xdiff-interface.c xdiff: don't trim common tail with -W 9 years ago
xdiff-interface.h
zlib.c

README.md

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 http://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 http://news.gmane.org/gmane.comp.version-control.git/, http://marc.info/?l=git and other archival sites.

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