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.
 
 
 
 
 
 
Nguyễn Thái Ngọc Duy c2f41bf521 color.c: fix color_parse_mem() with value_len == 0 8 years ago
Documentation Git 2.10 8 years ago
block-sha1
builtin Merge branch 'mh/blame-worktree' 8 years ago
ci
compat Merge branch 'bw/mingw-avoid-inheriting-fd-to-lockfile' 8 years ago
contrib git-multimail: update to release 1.4.0 8 years ago
ewah
git-gui
gitk-git
gitweb gitweb: escape link body in format_ref_marker 8 years ago
mergetools
perl git-svn: warn instead of dying when commit data is missing 8 years ago
po Merge branch 'master' of https://github.com/vnwildman/git 8 years ago
ppc
refs Merge branch 'mh/ref-iterators' 8 years ago
t Merge branch 'mh/blame-worktree' 8 years ago
templates push options: {pre,post}-receive hook learns about push options 8 years ago
vcs-svn
xdiff Merge branch 'js/ignore-space-at-eol' into maint 8 years ago
.gitattributes .gitattributes: set file type for C files 8 years ago
.gitignore
.mailmap .mailmap: use Christian Couder's Tuxfamily address 8 years ago
.travis.yml Merge branch 'ls/travis-enable-httpd-tests' into maint 8 years ago
COPYING
GIT-VERSION-GEN Git 2.10 8 years ago
INSTALL
LGPL-2.1
Makefile Merge branch 'ew/build-time-pager-tweaks' 8 years ago
README.md
RelNotes Some fixes for 2.9.3 8 years ago
abspath.c
aclocal.m4
advice.c
advice.h
alias.c
alloc.c
archive-tar.c Merge branch 'jk/big-and-future-archive-tar' 8 years ago
archive-zip.c
archive.c i18n: archive: mark errors for translation 8 years ago
archive.h
argv-array.c
argv-array.h
attr.c
attr.h
base85.c
bisect.c Merge branch 'jk/printf-format' 8 years ago
bisect.h
blob.c
blob.h
branch.c
branch.h
builtin.h
bulk-checkin.c
bulk-checkin.h
bundle.c
bundle.h
cache-tree.c cache-tree: do not generate empty trees as a result of all i-t-a subentries 8 years ago
cache-tree.h
cache.h Merge branch 'jk/trace-fixup' 8 years ago
check-builtins.sh
check-racy.c
check_bindir
color.c color.c: fix color_parse_mem() with value_len == 0 8 years ago
color.h Merge branch 'js/color-on-windows-comment' into maint 8 years ago
column.c
column.h
combine-diff.c Merge branch 'bc/cocci' 8 years ago
command-list.txt
commit-slab.h Merge branch 'vs/typofix' 8 years ago
commit.c Merge branch 'rs/pull-signed-tag' 8 years ago
commit.h Merge branch 'rs/pull-signed-tag' 8 years ago
common-main.c mingw: declare main()'s argv as const 8 years ago
config.c i18n: simplify numeric error reporting 8 years ago
config.mak.in
config.mak.uname Merge branch 'ew/build-time-pager-tweaks' 8 years ago
configure.ac Merge branch 'ew/autoconf-pthread' into maint 8 years ago
connect.c connect: read $GIT_SSH_COMMAND from config file 8 years ago
connect.h
connected.c check_connected: add progress flag 8 years ago
connected.h check_connected: add progress flag 8 years ago
convert.c convert: Correct NNO tests and missing `LF will be replaced by CRLF` 8 years ago
convert.h convert: unify the "auto" handling of CRLF 8 years ago
copy.c
credential-cache--daemon.c Merge branch 'jk/common-main-2.8' into jk/common-main 8 years ago
credential-cache.c add an extra level of indirection to main() 8 years ago
credential-store.c add an extra level of indirection to main() 8 years ago
credential.c
credential.h
csum-file.c
csum-file.h
ctype.c
daemon.c Merge branch 'ew/daemon-socket-keepalive' 8 years ago
date.c date: add "unix" format 8 years ago
decorate.c
decorate.h
delta.h
diff-delta.c
diff-lib.c
diff-no-index.c
diff.c Merge branch 'kw/patch-ids-optim' 8 years ago
diff.h patch-ids: add flag to create the diff patch id using header only data 8 years ago
diffcore-break.c diff: rename struct diff_filespec's sha1_valid member 8 years ago
diffcore-delta.c
diffcore-order.c
diffcore-pickaxe.c diffcore-pickaxe: support case insensitive match on non-ascii 8 years ago
diffcore-rename.c pass constants as first argument to st_mult() 8 years ago
diffcore.h diff: rename struct diff_filespec's sha1_valid member 8 years ago
dir-iterator.c
dir-iterator.h
dir.c Merge branch 'rs/use-strbuf-addbuf' into maint 8 years ago
dir.h Merge branch 'mh/split-under-lock' 8 years ago
editor.c
entry.c
environment.c
exec_cmd.c
exec_cmd.h
fast-import.c Merge branch 'jk/common-main' 8 years ago
fetch-pack.c fetch-pack: grow stateless RPC windows exponentially 8 years ago
fetch-pack.h
fmt-merge-msg.h
fsck.c fsck: optionally show more helpful info for broken links 8 years ago
fsck.h fsck: give the error function a chance to see the fsck_options 8 years ago
generate-cmdlist.sh
gettext.c gettext: add is_utf8_locale() 8 years ago
gettext.h gettext: add is_utf8_locale() 8 years ago
git-add--interactive.perl
git-archimport.perl
git-bisect.sh
git-compat-util.h Merge branch 'bw/mingw-avoid-inheriting-fd-to-lockfile' 8 years ago
git-cvsexportcommit.perl
git-cvsimport.perl
git-cvsserver.perl
git-difftool--helper.sh difftool: always honor fatal error exit codes 8 years ago
git-difftool.perl difftool: use Git::* functions instead of passing around state 8 years ago
git-filter-branch.sh
git-instaweb.sh
git-merge-octopus.sh
git-merge-one-file.sh
git-merge-resolve.sh
git-mergetool--lib.sh
git-mergetool.sh
git-p4.py Spelling fixes 8 years ago
git-parse-remote.sh
git-quiltimport.sh
git-rebase--am.sh
git-rebase--interactive.sh i18n: fix git rebase interactive commit messages 8 years ago
git-rebase--merge.sh Merge branch 'em/newer-freebsd-shells-are-fine-with-returns' into maint 8 years ago
git-rebase.sh
git-relink.perl
git-remote-testgit.sh
git-request-pull.sh
git-send-email.perl Merge branch 'jc/send-email-skip-backup' 8 years ago
git-sh-i18n.sh
git-sh-setup.sh Merge branch 'ew/build-time-pager-tweaks' 8 years ago
git-stash.sh i18n: git-stash: mark messages for translation 8 years ago
git-submodule.sh Merge branch 'sb/submodule-update-dot-branch' 8 years ago
git-svn.perl git-svn: allow --version to work anywhere 8 years ago
git-web--browse.sh
git.c common-main: call git_setup_gettext() 8 years ago
git.rc
gpg-interface.c Merge branch 'lt/gpg-show-long-key-in-signature-verification-maint' into lt/gpg-show-long-key-in-signature-verification 8 years ago
gpg-interface.h
graph.c Merge branch 'js/log-to-diffopt-file' 8 years ago
graph.h
grep.c Merge branch 'js/am-3-merge-recursive-direct' 8 years ago
grep.h Merge branch 'jc/grep-commandline-vs-configuration' into maint 8 years ago
hashmap.c
hashmap.h
help.c t0006: skip "far in the future" test when unsigned long is not long enough 8 years ago
help.h
hex.c hex: add oid_to_hex_r() 8 years ago
http-backend.c Merge branch 'ew/http-backend-batch-headers' 8 years ago
http-fetch.c common-main: call git_setup_gettext() 8 years ago
http-push.c Merge branch 'rs/use-strbuf-addstr' 8 years ago
http-walker.c http-walker: reduce O(n) ops with doubly-linked list 8 years ago
http.c Merge branch 'rs/use-strbuf-addstr' 8 years ago
http.h Merge branch 'ep/http-curl-trace' 8 years ago
ident.c Merge branch 'jk/reset-ident-time-per-commit' into maint 8 years ago
imap-send.c die("bug"): report bugs consistently 8 years ago
iterator.h
khash.h
kwset.c
kwset.h
levenshtein.c
levenshtein.h
line-log.c Merge branch 'bc/cocci' 8 years ago
line-log.h
line-range.c
line-range.h
list-objects.c
list-objects.h
list.h list: avoid incompatibility with *BSD sys/queue.h 8 years ago
ll-merge.c
ll-merge.h
lockfile.c
lockfile.h mingw: ensure temporary file handles are not inherited by child processes 8 years ago
log-tree.c Merge branch 'nd/log-decorate-color-head-arrow' 8 years ago
log-tree.h
mailinfo.c Merge branch 'rs/mailinfo-lib' 8 years ago
mailinfo.h
mailmap.c
mailmap.h
match-trees.c
merge-blobs.c
merge-blobs.h
merge-recursive.c Merge branch 'rs/pull-signed-tag' 8 years ago
merge-recursive.h merge-recursive: offer an option to retain the output in 'obuf' 8 years ago
merge.c
mergesort.c
mergesort.h
mru.c add generic most-recently-used list 8 years ago
mru.h add generic most-recently-used list 8 years ago
name-hash.c
notes-cache.c
notes-cache.h
notes-merge.c Merge branch 'rs/notes-merge-no-toctou' 8 years ago
notes-merge.h
notes-utils.c
notes-utils.h
notes.c
notes.h
object.c
object.h
pack-bitmap-write.c
pack-bitmap.c
pack-bitmap.h
pack-check.c fsck: use streaming interface for large blobs in pack 8 years ago
pack-objects.c
pack-objects.h
pack-revindex.c
pack-revindex.h
pack-write.c sha1_file: drop free_pack_by_name 8 years ago
pack.h fsck: use streaming interface for large blobs in pack 8 years ago
pager.c pager: move pager-specific setup into the build 8 years ago
parse-options-cb.c Merge branch 'jk/parse-options-concat' 8 years ago
parse-options.c
parse-options.h parse_options: allocate a new array when concatenating 8 years ago
patch-delta.c
patch-ids.c rebase: avoid computing unnecessary patch IDs 8 years ago
patch-ids.h rebase: avoid computing unnecessary patch IDs 8 years ago
path.c Merge branch 'ab/hooks' 8 years ago
pathspec.c
pathspec.h
pkt-line.c
pkt-line.h
preload-index.c
pretty.c Merge branch 'rs/use-strbuf-add-unique-abbrev' 8 years ago
prio-queue.c
prio-queue.h
progress.c
progress.h
prompt.c
prompt.h
quote.c Merge branch 'nd/icase' into maint 8 years ago
quote.h Merge branch 'nd/icase' into maint 8 years ago
reachable.c
reachable.h
read-cache.c Merge branch 'jc/renormalize-merge-kill-safer-crlf' 8 years ago
ref-filter.c
ref-filter.h
reflog-walk.c
reflog-walk.h
refs.c pass constants as first argument to st_mult() 8 years ago
refs.h Merge branch 'mh/ref-iterators' 8 years ago
remote-curl.c Merge branch 'jk/common-main-2.8' into jk/common-main 8 years ago
remote-testsvn.c common-main: call git_extract_argv0_path() 8 years ago
remote.c Merge branch 'jk/push-force-with-lease-creation' 8 years ago
remote.h Merge branch 'jk/push-force-with-lease-creation' 8 years ago
replace_object.c
rerere.c
rerere.h
resolve-undo.c
resolve-undo.h
revision.c Merge branch 'kw/patch-ids-optim' 8 years ago
revision.h
run-command.c Merge branch 'ab/hooks' 8 years ago
run-command.h
send-pack.c Merge branch 'rs/use-strbuf-addstr' into maint 8 years ago
send-pack.h push: accept push options 8 years ago
sequencer.c i18n: fix typos for translation 8 years ago
sequencer.h
server-info.c
setup.c i18n: setup: mark error messages for translation 8 years ago
sh-i18n--envsubst.c add an extra level of indirection to main() 8 years ago
sha1-array.c
sha1-array.h
sha1-lookup.c
sha1-lookup.h
sha1_file.c Merge branch 'vs/typofix' 8 years ago
sha1_name.c
shallow.c pass constants as first argument to st_mult() 8 years ago
shell.c common-main: call git_setup_gettext() 8 years ago
shortlog.h
show-index.c common-main: call git_setup_gettext() 8 years ago
sideband.c Merge branch 'lf/recv-sideband-cleanup' into maint 8 years ago
sideband.h
sigchain.c
sigchain.h
split-index.c
split-index.h
strbuf.c Merge branch 'rs/use-strbuf-addbuf' into maint 8 years ago
strbuf.h Merge branch 'rs/use-strbuf-addbuf' into maint 8 years ago
streaming.c
streaming.h
string-list.c
string-list.h
submodule-config.c Merge branch 'sb/submodule-update-dot-branch' 8 years ago
submodule-config.h submodule-config: keep configured branch around 8 years ago
submodule.c Merge branch 'bc/cocci' 8 years ago
submodule.h
symlinks.c
tag.c
tag.h
tar.h
tempfile.c mingw: ensure temporary file handles are not inherited by child processes 8 years ago
tempfile.h mingw: ensure temporary file handles are not inherited by child processes 8 years ago
thread-utils.c
thread-utils.h
trace.c trace: do not fall back to stderr 8 years ago
trace.h
trailer.c die("bug"): report bugs consistently 8 years ago
trailer.h
transport-helper.c Spelling fixes 8 years ago
transport.c Merge branch 'rs/use-strbuf-add-unique-abbrev' 8 years ago
transport.h push: accept push options 8 years ago
tree-diff.c Merge branch 'jk/avoid-unbounded-alloca' into maint 8 years ago
tree-walk.c
tree-walk.h
tree.c
tree.h
unicode_width.h
unimplemented.sh
unix-socket.c
unix-socket.h
unpack-trees.c
unpack-trees.h
update_unicode.sh
upload-pack.c Spelling fixes 8 years ago
url.c
url.h
urlmatch.c
urlmatch.h
usage.c
userdiff.c
userdiff.h
utf8.c
utf8.h
varint.c
varint.h
version.c
version.h
versioncmp.c
walker.c walker: let walker_say take arbitrary formats 8 years ago
walker.h walker: let walker_say take arbitrary formats 8 years ago
wildmatch.c
wildmatch.h
worktree.c Merge branch 'nd/worktree-lock' 8 years ago
worktree.h
wrap-for-bin.sh
wrapper.c Merge branch 'sb/submodule-parallel-fetch' into maint 8 years ago
write_or_die.c write_or_die: drop write_or_whine_pipe() 8 years ago
ws.c
wt-status.c Merge branch 'js/am-3-merge-recursive-direct' 8 years ago
wt-status.h
xdiff-interface.c
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