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.
 
 
 
 
 
 
Johannes Schindelin c097b95a26 msvc: avoid using minus operator on unsigned types 6 years ago
.github
Documentation The fifth batch 6 years ago
block-sha1
builtin push: do not pretend to return `int` from `die_push_simple()` 6 years ago
ci ci/lib.sh: update a comment about installed P4 and Git-LFS versions 6 years ago
compat msvc: add a Makefile target to pre-generate the Visual Studio solution 6 years ago
contrib vcxproj: also link-or-copy builtins 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
refs
sha1collisiondetection@855827c583
sha1dc
sha256
t Merge branch 'js/rebase-reschedule-applies-only-to-interactive' 6 years ago
templates
trace2 Merge branch 'sg/trace2-rename' 6 years ago
vcs-svn
xdiff
.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 .gitignore: stop ignoring `.manifest` files 6 years ago
.gitmodules
.mailmap
.travis.yml
.tsan-suppressions
COPYING
GIT-VERSION-GEN The first batch after 2.22 6 years ago
INSTALL
LGPL-2.1
Makefile bin-wrappers: append `.exe` to target paths if necessary 6 years ago
README.md
RelNotes The first batch after 2.22 6 years ago
abspath.c
aclocal.m4
advice.c Merge branch 'ds/fetch-disable-force-notice' 6 years ago
advice.h Merge branch 'ds/fetch-disable-force-notice' 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
archive.h
argv-array.c
argv-array.h
attr.c
attr.h
azure-pipelines.yml
banned.h
base85.c
bisect.c
bisect.h
blame.c
blame.h
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 'nd/switch-and-restore' 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 cache-tree/blame: avoid reusing the DEBUG constant 6 years ago
cache-tree.h
cache.h msvc: avoid using minus operator on unsigned types 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 'jk/oidhash' 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 Merge branch 'jk/oidhash' 6 years ago
commit.h
common-main.c
config.c Merge branch 'rs/config-unit-parsing' 6 years ago
config.h
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
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 Merge branch 'sb/format-patch-base-patch-id-fix' 6 years ago
diff.h Merge branch 'sb/format-patch-base-patch-id-fix' 6 years ago
diffcore-break.c
diffcore-delta.c
diffcore-order.c
diffcore-pickaxe.c
diffcore-rename.c Merge branch 'jk/oidhash' 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
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 'rs/copy-array' 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 object: convert lookup_unknown_object() to use object_id 6 years ago
fsck.h
fsmonitor.c Merge branch 'cb/fsmonitor-intfix' 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: always use UTF-8 on native Windows 6 years ago
gettext.h
git-add--interactive.perl Merge branch 'nd/switch-and-restore' 6 years ago
git-archimport.perl
git-bisect.sh
git-compat-util.h msvc: add a compile-time flag to allow detailed heap debugging 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
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 'am/p4-branches-excludes' 6 years ago
git-parse-remote.sh
git-quiltimport.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 'ab/send-email-transferencoding-fix' 6 years ago
git-sh-i18n.sh
git-sh-setup.sh
git-submodule.sh
git-svn.perl
git-web--browse.sh
git.c git: avoid calling aliased builtins via their dashed form 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.h
graph.c
graph.h
grep.c grep: fail if call could output and name is null 6 years ago
grep.h
hash.h hash.h: move object_id definition from cache.h 6 years ago
hashmap.c
hashmap.h hashmap: convert sha1hash() to oidhash() 6 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
http.h
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 'js/gcc-8-and-9' 6 years ago
kwset.h
levenshtein.c
levenshtein.h
line-log.c
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' 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
mem-pool.c
mem-pool.h
merge-blobs.c
merge-blobs.h
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.h
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
notes.h
object-store.h Merge branch 'ds/object-info-for-prefetch-fix' 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
oidmap.h
oidset.c khash: rename kh_oid_t to kh_oid_set 6 years ago
oidset.h khash: rename kh_oid_t to kh_oid_set 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 Merge branch 'rs/copy-array' 6 years ago
packfile.h Merge branch 'ds/close-object-store' 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: convert sha1hash() to oidhash() 6 years ago
patch-ids.h
path.c
path.h
pathspec.c
pathspec.h
pkt-line.c
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
range-diff.h
reachable.c object: convert lookup_object() to use object_id 6 years ago
reachable.h
read-cache.c msvc: avoid using minus operator on unsigned types 6 years ago
rebase-interactive.c
rebase-interactive.h
ref-filter.c Merge branch 'md/sort-detached-head-first' 6 years ago
ref-filter.h
reflog-walk.c
reflog-walk.h
refs.c object: convert lookup_unknown_object() to use object_id 6 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
remote.h
replace-object.c
replace-object.h
repository.c
repository.h
rerere.c
rerere.h
resolve-undo.c
resolve-undo.h
revision.c revision: keep topo-walk free of unintersting commits 6 years ago
revision.h
run-command.c
run-command.h
send-pack.c
send-pack.h
sequencer.c Merge branch 'sg/rebase-progress' 6 years ago
sequencer.h Merge branch 'nd/switch-and-restore' 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 Merge branch 'ds/object-info-for-prefetch-fix' 6 years ago
sha1-lookup.c msvc: avoid using minus operator on unsigned types 6 years ago
sha1-lookup.h
sha1-name.c Merge branch 'nd/switch-and-restore' 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 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
sub-process.h
submodule-config.c
submodule-config.h
submodule.c
submodule.h
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
trace2.h trace2: rename environment variables to GIT_TRACE2* 6 years ago
trailer.c
trailer.h
transport-helper.c Merge branch 'mh/import-transport-fd-fix' 6 years ago
transport-internal.h
transport.c
transport.h
tree-diff.c
tree-walk.c
tree-walk.h
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' 6 years ago
unimplemented.sh
unix-socket.c
unix-socket.h
unpack-trees.c Merge branch 'nd/switch-and-restore' 6 years ago
unpack-trees.h
upload-pack.c Merge branch 'jk/oidhash' 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' 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 'jh/status-aheadbehind' 6 years ago
wt-status.h Merge branch 'md/sort-detached-head-first' 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-.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