Go to file
Michael J Gruber 4a4b4cdaab builtin-remote: Make "remote -v" display push urls
Currently, "remote -v" simply lists all urls so that one has to remember
that only the first one is used for fetches, and all are used for
pushes.

Change this so that the role of an url is displayed in parentheses, and
also display push urls.

Example with "one" having one url, "two" two urls, "three" one url and
one pushurl:

one     hostone.com:/somepath/repoone.git (fetch)
one     hostone.com:/somepath/repoone.git (push)
three   http://hostthree.com/otherpath/repothree.git (fetch)
three   hostthree.com:/pathforpushes/repothree.git (push)
two     hosttwo.com:/somepath/repotwo.git (fetch)
two     hosttwo.com:/somepath/repotwo.git (push)
two     hosttwobackup.com:/somewheresafe/repotwo.git (push)

Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2009-06-13 10:38:11 -07:00
Documentation technical/api-remote: Describe new struct remote member pushurl 2009-06-09 23:46:47 -07:00
arm
compat compat: add a basename() compatibility function 2009-05-31 17:57:59 -07:00
contrib bash: add support for 'git stash pop --index' option 2009-06-09 00:18:32 -07:00
git-gui
gitk-git
gitweb Merge branch 'jn/gitweb-cleanup' 2009-05-23 01:44:06 -07:00
mozilla-sha1
perl
ppc
t builtin-remote: Show push urls as well 2009-06-13 10:31:33 -07:00
templates Merge branch 'hv/sample-update' 2009-05-23 01:39:15 -07:00
xdiff Merge branch 'cb/maint-1.6.0-xdl-merge-fix' into maint 2009-06-02 07:48:44 -07:00
.gitattributes
.gitignore
.mailmap
COPYING
GIT-VERSION-GEN GIT 1.6.3.2 2009-06-03 22:47:48 -07:00
INSTALL
Makefile Makefile: test-parse-options depends on parse-options.h 2009-06-07 01:34:51 -07:00
README
RelNotes Prepare for 1.6.3.2 2009-05-25 19:20:39 -07:00
abspath.c
alias.c Merge branch 'jk/maint-1.6.0-trace-argv' into maint 2009-05-25 19:03:20 -07:00
alloc.c
archive-tar.c
archive-zip.c
archive.c parse-opts: prepare for OPT_FILENAME 2009-05-25 01:07:25 -07:00
archive.h
attr.c
attr.h
base85.c
bisect.c bisect: check ancestors without forking a "git rev-list" process 2009-05-17 23:29:17 -07:00
bisect.h bisect: make "git bisect" use new "--next-all" bisect-helper function 2009-05-10 14:30:33 -07:00
blob.c
blob.h
branch.c
branch.h
builtin-add.c parse-opts: prepare for OPT_FILENAME 2009-05-25 01:07:25 -07:00
builtin-annotate.c
builtin-apply.c Merge branch 'sb/maint-1.6.2-opt-filename-fix' into maint 2009-06-02 07:47:03 -07:00
builtin-archive.c parse-opts: prepare for OPT_FILENAME 2009-05-25 01:07:25 -07:00
builtin-bisect--helper.c parse-opts: prepare for OPT_FILENAME 2009-05-25 01:07:25 -07:00
builtin-blame.c Merge branch 'maint' 2009-06-03 00:49:40 -07:00
builtin-branch.c parse-opts: prepare for OPT_FILENAME 2009-05-25 01:07:25 -07:00
builtin-bundle.c
builtin-cat-file.c Merge branch 'sb/opt-filename' 2009-05-31 16:57:42 -07:00
builtin-check-attr.c parse-opts: prepare for OPT_FILENAME 2009-05-25 01:07:25 -07:00
builtin-check-ref-format.c
builtin-checkout-index.c parse-opts: prepare for OPT_FILENAME 2009-05-25 01:07:25 -07:00
builtin-checkout.c Merge branch 'lt/maint-diff-reduce-lstat' into maint 2009-05-25 19:04:08 -07:00
builtin-clean.c parse-opts: prepare for OPT_FILENAME 2009-05-25 01:07:25 -07:00
builtin-clone.c parse-opts: prepare for OPT_FILENAME 2009-05-25 01:07:25 -07:00
builtin-commit-tree.c
builtin-commit.c parse-opts: add OPT_FILENAME and transition builtins 2009-05-25 01:07:33 -07:00
builtin-config.c parse-opts: prepare for OPT_FILENAME 2009-05-25 01:07:25 -07:00
builtin-count-objects.c parse-opts: prepare for OPT_FILENAME 2009-05-25 01:07:25 -07:00
builtin-describe.c parse-opts: prepare for OPT_FILENAME 2009-05-25 01:07:25 -07:00
builtin-diff-files.c
builtin-diff-index.c
builtin-diff-tree.c
builtin-diff.c
builtin-fast-export.c parse-opts: prepare for OPT_FILENAME 2009-05-25 01:07:25 -07:00
builtin-fetch--tool.c
builtin-fetch-pack.c fetch-pack: close output channel after sideband demultiplexer terminates 2009-06-08 21:18:41 -07:00
builtin-fetch.c Merge branch 'sb/opt-filename' 2009-05-31 16:57:42 -07:00
builtin-fmt-merge-msg.c Merge branch 'sb/maint-1.6.2-opt-filename-fix' into maint 2009-06-02 07:47:03 -07:00
builtin-for-each-ref.c parse-opts: prepare for OPT_FILENAME 2009-05-25 01:07:25 -07:00
builtin-fsck.c parse-opts: prepare for OPT_FILENAME 2009-05-25 01:07:25 -07:00
builtin-gc.c parse-opts: prepare for OPT_FILENAME 2009-05-25 01:07:25 -07:00
builtin-grep.c parse-opts: prepare for OPT_FILENAME 2009-05-25 01:07:25 -07:00
builtin-help.c Simplify some 'fprintf(stderr); return -1;' by using 'return error()' 2009-06-09 00:15:57 -07:00
builtin-http-fetch.c
builtin-init-db.c
builtin-log.c Merge branch 'sb/opt-filename' 2009-05-31 16:57:42 -07:00
builtin-ls-files.c parse-opts: prepare for OPT_FILENAME 2009-05-25 01:07:25 -07:00
builtin-ls-remote.c
builtin-ls-tree.c
builtin-mailinfo.c builtin-mailinfo.c: use "ISO8859-1" instead of "latin1" as fallback encoding 2009-05-18 20:53:15 -07:00
builtin-mailsplit.c
builtin-merge-base.c parse-opts: prepare for OPT_FILENAME 2009-05-25 01:07:25 -07:00
builtin-merge-file.c parse-opts: prepare for OPT_FILENAME 2009-05-25 01:07:25 -07:00
builtin-merge-ours.c
builtin-merge-recursive.c MinGW: Fix compiler warning in merge-recursive 2009-05-23 01:54:45 -07:00
builtin-merge.c parse-opts: prepare for OPT_FILENAME 2009-05-25 01:07:25 -07:00
builtin-mktree.c parse-opts: prepare for OPT_FILENAME 2009-05-25 01:07:25 -07:00
builtin-mv.c parse-opts: prepare for OPT_FILENAME 2009-05-25 01:07:25 -07:00
builtin-name-rev.c parse-opts: prepare for OPT_FILENAME 2009-05-25 01:07:25 -07:00
builtin-pack-objects.c
builtin-pack-refs.c parse-opts: prepare for OPT_FILENAME 2009-05-25 01:07:25 -07:00
builtin-prune-packed.c
builtin-prune.c parse-opts: prepare for OPT_FILENAME 2009-05-25 01:07:25 -07:00
builtin-push.c Allow push and fetch urls to be different 2009-06-09 23:46:47 -07:00
builtin-read-tree.c
builtin-receive-pack.c Simplify some instances of run_command() by using run_command_v_opt(). 2009-06-09 00:15:57 -07:00
builtin-reflog.c
builtin-remote.c builtin-remote: Make "remote -v" display push urls 2009-06-13 10:38:11 -07:00
builtin-rerere.c
builtin-reset.c parse-opts: prepare for OPT_FILENAME 2009-05-25 01:07:25 -07:00
builtin-rev-list.c rev-list: remove stringed output flag from "show_bisect_vars" 2009-05-10 00:30:28 -07:00
builtin-rev-parse.c parse-opts: prepare for OPT_FILENAME 2009-05-25 01:07:25 -07:00
builtin-revert.c Merge branch 'sb/opt-filename' 2009-05-31 16:57:42 -07:00
builtin-rm.c parse-opts: prepare for OPT_FILENAME 2009-05-25 01:07:25 -07:00
builtin-send-pack.c Merge branch 'fc/decorate-tag' 2009-05-23 01:43:50 -07:00
builtin-shortlog.c parse-opts: prepare for OPT_FILENAME 2009-05-25 01:07:25 -07:00
builtin-show-branch.c show-branch: don't use LASTARG_DEFAULT with OPTARG 2009-06-09 00:15:57 -07:00
builtin-show-ref.c
builtin-stripspace.c
builtin-symbolic-ref.c parse-opts: prepare for OPT_FILENAME 2009-05-25 01:07:25 -07:00
builtin-tag.c parse-opts: add OPT_FILENAME and transition builtins 2009-05-25 01:07:33 -07:00
builtin-tar-tree.c
builtin-unpack-objects.c
builtin-update-index.c
builtin-update-ref.c parse-opts: prepare for OPT_FILENAME 2009-05-25 01:07:25 -07:00
builtin-upload-archive.c
builtin-verify-pack.c
builtin-verify-tag.c
builtin-write-tree.c
builtin.h build-in git-mktree 2009-05-10 12:41:35 -07:00
bundle.c Terminate argv with NULL before calling setup_revisions() 2009-05-21 08:56:24 -07:00
bundle.h
cache-tree.c
cache-tree.h
cache.h diff: generate pretty filenames in prep_temp_blob() 2009-05-31 17:57:59 -07:00
check-builtins.sh
check-racy.c
check_bindir
color.c
color.h
combine-diff.c
command-list.txt
commit.c commit: add function to unparse a commit and its parents 2009-05-17 23:19:32 -07:00
commit.h commit: add function to unparse a commit and its parents 2009-05-17 23:19:32 -07:00
config.c
config.mak.in compat: add a basename() compatibility function 2009-05-31 17:57:59 -07:00
configure.ac compat: add a basename() compatibility function 2009-05-31 17:57:59 -07:00
connect.c daemon: Strictly parse the "extra arg" part of the command 2009-06-06 13:27:52 -07:00
convert.c
copy.c
csum-file.c
csum-file.h
ctype.c
daemon.c daemon: Strictly parse the "extra arg" part of the command 2009-06-06 13:27:52 -07:00
date.c
decorate.c Unify signedness in hashing calls 2009-05-20 00:02:24 -07:00
decorate.h
delta.h
diff-delta.c
diff-lib.c Merge branch 'lt/maint-diff-reduce-lstat' into maint 2009-05-25 19:04:08 -07:00
diff-no-index.c
diff.c Merge branch 'maint' 2009-06-09 00:29:36 -07:00
diff.h
diffcore-break.c
diffcore-delta.c
diffcore-order.c
diffcore-pickaxe.c
diffcore-rename.c
diffcore.h
dir.c git-add: no need for -f when resolving a conflict in already tracked path 2009-05-31 15:59:16 -07:00
dir.h
editor.c
entry.c
environment.c
exec_cmd.c
exec_cmd.h
fast-import.c Merge branch 'ar/unlink-err' into maint 2009-05-25 19:01:50 -07:00
fetch-pack.h
fixup-builtins
fsck.c
fsck.h
generate-cmdlist.sh
git-add--interactive.perl add -i: do not dump patch during application 2009-06-03 00:11:15 -07:00
git-am.sh am: simplify "sq" function by using "git rev-parse --sq-quote" 2009-05-10 00:30:29 -07:00
git-archimport.perl
git-bisect.sh bisect: make "git bisect" use new "--next-all" bisect-helper function 2009-05-10 14:30:33 -07:00
git-compat-util.h Merge branch 'da/pretty-tempname' 2009-06-03 00:50:05 -07:00
git-cvsexportcommit.perl
git-cvsimport.perl
git-cvsserver.perl
git-difftool--helper.sh
git-difftool.perl
git-filter-branch.sh
git-instaweb.sh
git-lost-found.sh
git-merge-octopus.sh
git-merge-one-file.sh
git-merge-resolve.sh
git-mergetool--lib.sh
git-mergetool.sh
git-parse-remote.sh
git-pull.sh
git-quiltimport.sh
git-rebase--interactive.sh
git-rebase.sh
git-relink.perl
git-repack.sh
git-request-pull.sh
git-send-email.perl send-email: use UTF-8 rather than utf-8 for consistency 2009-06-09 00:15:57 -07:00
git-sh-setup.sh
git-stash.sh Documentation: mention 'git stash pop --index' option explicitly 2009-06-09 00:18:24 -07:00
git-submodule.sh
git-svn.perl git-svn: refuse to dcommit non-UTF-8 messages 2009-05-28 00:57:07 -07:00
git-web--browse.sh
git.c build-in git-mktree 2009-05-10 12:41:35 -07:00
git.spec.in
graph.c Merge branch 'ac/graph-horizontal-line' 2009-05-18 08:59:30 -07:00
graph.h
grep.c grep: fix empty word-regexp matches 2009-06-03 11:32:29 -07:00
grep.h
hash-object.c parse-opts: prepare for OPT_FILENAME 2009-05-25 01:07:25 -07:00
hash.c
hash.h
help.c
help.h
http-push.c http-push: reuse existing is_null_ref 2009-05-31 15:38:32 -07:00
http-walker.c
http.c
http.h
ident.c
imap-send.c imap-send: add support for IPv6 2009-05-26 22:22:47 -07:00
index-pack.c
levenshtein.c
levenshtein.h
list-objects.c
list-objects.h
ll-merge.c Simplify some instances of run_command() by using run_command_v_opt(). 2009-06-09 00:15:57 -07:00
ll-merge.h
lockfile.c Merge branch 'ar/unlink-err' into maint 2009-05-25 19:01:50 -07:00
log-tree.c Prettify log decorations even more 2009-05-13 20:55:49 -07:00
log-tree.h
mailmap.c
mailmap.h
match-trees.c
merge-file.c
merge-index.c Simplify some instances of run_command() by using run_command_v_opt(). 2009-06-09 00:15:57 -07:00
merge-recursive.c Merge branch 'do/maint-merge-recursive-fix' into maint 2009-05-25 19:03:43 -07:00
merge-recursive.h
merge-tree.c
mktag.c
name-hash.c
object.c Unify signedness in hashing calls 2009-05-20 00:02:24 -07:00
object.h
pack-check.c
pack-redundant.c
pack-refs.c
pack-refs.h
pack-revindex.c
pack-revindex.h
pack-write.c
pack.h
pager.c
parse-options.c Merge branch 'sb/show-branch-parse-options' 2009-05-31 16:17:58 -07:00
parse-options.h show-branch: don't use LASTARG_DEFAULT with OPTARG 2009-06-09 00:15:57 -07:00
patch-delta.c
patch-id.c
patch-ids.c
patch-ids.h
path.c diff: generate pretty filenames in prep_temp_blob() 2009-05-31 17:57:59 -07:00
pkt-line.c
pkt-line.h
preload-index.c
pretty.c Use 'UTF-8' rather than 'utf-8' everywhere for backward compatibility 2009-05-18 20:53:12 -07:00
progress.c
progress.h
quote.c
quote.h
reachable.c
reachable.h
read-cache.c
reflog-walk.c
reflog-walk.h
refs.c Merge branch 'maint' 2009-05-25 19:44:52 -07:00
refs.h Change prettify_ref to prettify_refname 2009-05-13 20:55:48 -07:00
remote.c Allow push and fetch urls to be different 2009-06-09 23:46:47 -07:00
remote.h Allow push and fetch urls to be different 2009-06-09 23:46:47 -07:00
rerere.c
rerere.h
revision.c Clean up and simplify rev_compare_tree() 2009-06-03 00:49:50 -07:00
revision.h Clean up and simplify rev_compare_tree() 2009-06-03 00:49:50 -07:00
run-command.c
run-command.h
send-pack.h
server-info.c Merge branch 'ar/unlink-err' into maint 2009-05-25 19:01:50 -07:00
setup.c
sha1-lookup.c
sha1-lookup.h
sha1_file.c Merge branch 'ar/unlink-err' into maint 2009-05-25 19:01:50 -07:00
sha1_name.c
shallow.c
shell.c
shortlog.h
show-index.c
sideband.c
sideband.h
sigchain.c
sigchain.h
strbuf.c
strbuf.h
string-list.c
string-list.h
symlinks.c symlinks.c: small style cleanup 2009-06-07 16:23:04 -07:00
tag.c
tag.h
tar.h
test-chmtime.c
test-ctype.c
test-date.c
test-delta.c
test-dump-cache-tree.c
test-genrandom.c
test-match-trees.c
test-parse-options.c parse-opts: add OPT_FILENAME and transition builtins 2009-05-25 01:07:33 -07:00
test-path-utils.c
test-sha1.c
test-sha1.sh
test-sigchain.c
thread-utils.c
thread-utils.h
trace.c
transport.c Merge branch 'fc/decorate-tag' 2009-05-23 01:43:50 -07:00
transport.h
tree-diff.c
tree-walk.c
tree-walk.h
tree.c
tree.h
unimplemented.sh
unpack-file.c
unpack-trees.c
unpack-trees.h
update-server-info.c
upload-pack.c
usage.c
userdiff.c
userdiff.h
utf8.c
utf8.h
var.c
walker.c
walker.h
wrapper.c
write_or_die.c
ws.c
wt-status.c
wt-status.h
xdiff-interface.c
xdiff-interface.h

README

////////////////////////////////////////////////////////////////

	GIT - the stupid content tracker

////////////////////////////////////////////////////////////////

"git" can mean anything, 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

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.
It was originally written by Linus Torvalds with help of a group of
hackers around the net. It is currently maintained by Junio C Hamano.

Please read the file INSTALL for installation instructions.

See Documentation/gittutorial.txt to get started, then see
Documentation/everyday.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).

Many Git online resources are accessible from http://git.or.cz/
including full documentation and Git related tools.

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. 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://marc.theaimsgroup.com/?l=git and other archival sites.

The messages titled "A note from the maintainer", "What's in
git.git (stable)" and "What's cooking in git.git (topics)" and
the discussion following them on the mailing list give a good
reference for project status, development direction and
remaining tasks.