remotes

1 view
Skip to first unread message

Antony Stubbs

unread,
Sep 29, 2009, 8:25:18 PM9/29/09
to spring-modules-fork
If you add this to your .git/config file, you will have easy access to
everyone's forks on your local machine, without having to go through
github.

[remote "krumpi"]
url = git://github.com/krumpi/spring-modules.git
fetch = +refs/heads/*:refs/remotes/krumpi/*
[remote "dsklyut"]
url = git://github.com/dsklyut/spring-modules.git
fetch = +refs/heads/*:refs/remotes/dsklyut/*
[remote "thrasher"]
url = git://github.com/thrasher/spring-modules.git
fetch = +refs/heads/*:refs/remotes/thrasher/*
[remote "toolman"]
url = git://github.com/thetoolman/spring-modules.git
fetch = +refs/heads/*:refs/remotes/toolman/*
[remote "pablotdl"]
url = git://github.com/pablotdl/spring-modules.git
fetch = +refs/heads/*:refs/remotes/pablotdl/*
[remote "chololo"]
url = git://github.com/chololo/spring-modules.git
fetch = +refs/heads/*:refs/remotes/chololo/*
[remote "tompson"]
url = git://github.com/tompson/spring-modules.git
fetch = +refs/heads/*:refs/remotes/tompson/*

You can fetch from all of the remotes by typing:
git fetch <name>

If anyone knows how to fetch from all remotes in one command please
share...

Antony Stubbs

unread,
Sep 29, 2009, 8:28:34 PM9/29/09
to spring-modules-fork
Of course, you can also dump this into a script:

git fetch chololo
git fetch dsklyut
git fetch krumpi
git fetch origin
git fetch pablotdl
git fetch thrasher
git fetch tompson
git fetch toolman


2009/9/30 Antony Stubbs <antony...@gmail.com>:

--
___________________________
http://stubbisms.wordpress.com/

Reply all
Reply to author
Forward
0 new messages