Hi,
We have dozens of repositories now. It's probably good that they are separate, but many of them have similarities in configuration, that should be synchronized.
One of these is .gitignore. The content of this file is probably very similar in most repos. Did anybody think about synchronizing it somehow?
-- Amir Elisha Aharoni · אָמִיר אֱלִישָׁע אַהֲרוֹנִי http://aharoni.wordpress.com “We're living in pieces, I want to live in peace.” – T. Moore
I don't know of any easy way to do this.
-Chad On Mar 31, 2012 4:17 AM, "Amir E. Aharoni" amir.aharoni@mail.huji.ac.il wrote:
Hi,
We have dozens of repositories now. It's probably good that they are separate, but many of them have similarities in configuration, that should be synchronized.
One of these is .gitignore. The content of this file is probably very similar in most repos. Did anybody think about synchronizing it somehow?
-- Amir Elisha Aharoni · אָמִיר אֱלִישָׁע אַהֲרוֹנִי http://aharoni.wordpress.com “We're living in pieces, I want to live in peace.” – T. Moore
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Le 31/03/12 10:17, Amir E. Aharoni a écrit :
Hi,
We have dozens of repositories now. It's probably good that they are separate, but many of them have similarities in configuration, that should be synchronized.
One of these is .gitignore. The content of this file is probably very similar in most repos. Did anybody think about synchronizing it somehow?
As a workaround, you could configure your git client to use a global ignore list:
$ git config --global core.excludesfile ~/.gitignores
Then edit that file and add whatever you want :-D
On 31/03/12 12:34, Antoine Musso a écrit :
As a workaround, you could configure your git client to use a global ignore list:
$ git config --global core.excludesfile ~/.gitignores
Then edit that file and add whatever you want :-D
Or if you are using the subgits command [1], you can configure just the repositories in the tree with: subgits config core.excludesfile ~/git-mediawiki/mediawiki-gitignores
1- http://svn.wikimedia.org/viewvc/mediawiki/trunk/tools/code-utils/subgits?vie...
wikitech-l@lists.wikimedia.org