Re: crowdsourcing an interview on git
On 03/31/2015 10:48 PM, Matthew Miller wrote: * What is your favorite pro tip for using git? Sometimes git pull takes long time. Sometimes git start garbage collecting in situation, where I was under time pressure. After this line in crontab I have no such problems any more: 40 3 * * * locate --regex /\\\.git\$ | while read a; do ( cd $a; git fetch --all -t; git gc --aggressive; ) done /dev/null 2/dev/null And this in .gitconfig: [alias] lol = log --graph --decorate --pretty=oneline --abbrev-commit Is great to quickly get overview of history (credits goes to jesusr). -- Miroslav Suchy, RHCE, RHCDS Red Hat, Senior Software Engineer, #brno, #devexp, #fedora-buildsys ___ infrastructure mailing list infrastructure@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/infrastructure
Re: crowdsourcing an interview on git
On Tue, 31 Mar 2015 16:48:17 -0400 Matthew Miller mat...@fedoraproject.org wrote: Hi everyone! Linux Foundation is running a series on Git for its 10th anniversary. They asked me a few questions, and I thought it might be even better to get a community answer from the whole infrastructure team. So, if you have anything interesting to say to any of these, say it, and I'll wrap up the responses into a unified Fedora Whole. I need to respond by Friday. * Why does Fedora use Git? It's known by most all developer/free software types these days, it's distributed and it's got a lot of docs and folks that can help with issues. * What makes Git such a great tool? For simple things/workflows it's pretty simple. * How many developers do you have collaborating on git? I guess that depends on what the question means by you here. ;) We have had 45 people commit at one time or another to our ansible repo, and 163 to our old puppet repo. There's 1633 people in the fedora packager group and 19857 package repos. (But some of those are dead.packaged). * How much do you personally use it? (estimates are great) Many times a day. * What's Fedora's most active git repo right now and why? Thats hard to say, we don't have a central place for all of them... http://pkgs.fedoraproject.org/cgit/?s=idle I suspect kernel gets updates most days. The infrastructure ansible repo gets updates most days. * What is your favorite pro tip for using git? Always run 'git status' and 'git diff' before commiting/pushing. That can show you that you have unrelated other changes you might not want to push. kevin pgpsz1GDhROCX.pgp Description: OpenPGP digital signature ___ infrastructure mailing list infrastructure@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/infrastructure
crowdsourcing an interview on git
Hi everyone! Linux Foundation is running a series on Git for its 10th anniversary. They asked me a few questions, and I thought it might be even better to get a community answer from the whole infrastructure team. So, if you have anything interesting to say to any of these, say it, and I'll wrap up the responses into a unified Fedora Whole. I need to respond by Friday. * Why does Fedora use Git? * What makes Git such a great tool? * How many developers do you have collaborating on git? * How much do you personally use it? (estimates are great) * What's Fedora's most active git repo right now and why? * What is your favorite pro tip for using git? * Any git success stories you can share? * Anything else you'd like to say to mark the 10-year anniversary? -- Matthew Miller mat...@fedoraproject.org Fedora Project Leader ___ infrastructure mailing list infrastructure@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/infrastructure
Re: crowdsourcing an interview on git
* Why does Fedora use Git? Fedora uses Git because it is an amazing tool to keep track of updates and manage new features, commits, and fixes in an orderly manner. Without Git, a single mistake could break our whole infrastructure -- however, Git allows us to revert errornous commits and thus causes those mistakes to be hardly meaningful. * What makes Git such a great tool? Git is a great tool because it compacts code into repositories, which can then be used to keep track of changes, view history, and revert errors. This is very important, as humans make mistakes and mistakes can break things. Git can help prevent these mistakes from causing large catastrophes. It is indispensable for projects with more than one team member. * How many developers do you have collaborating on git? A very large amount. * How much do you personally use it? (estimates are great) Every day, pretty much for every single meaningful project that I work on. * What's Fedora's most active git repo right now and why? Infra and websites, perhaps. Those repos are very dynamic and change over time as new needs or information pop up. * What is your favorite pro tip for using git? Revert commits using `git revert` or rewrite history in dire need. Will help you resolve catastrophes. `git status` and `git diff` are also amazing. * Any git success stories you can share? 1 - Broke everything 2 - Fixed everything with a simple `git revert` 3 - Success * Anything else you'd like to say to mark the 10-year anniversary? Keep improving, keep making Git a better tool! Lots of awesome projects love Git. On Tue, 31 Mar 2015 at 16:48 Matthew Miller mat...@fedoraproject.org wrote: Hi everyone! Linux Foundation is running a series on Git for its 10th anniversary. They asked me a few questions, and I thought it might be even better to get a community answer from the whole infrastructure team. So, if you have anything interesting to say to any of these, say it, and I'll wrap up the responses into a unified Fedora Whole. I need to respond by Friday. * Why does Fedora use Git? * What makes Git such a great tool? * How many developers do you have collaborating on git? * How much do you personally use it? (estimates are great) * What's Fedora's most active git repo right now and why? * What is your favorite pro tip for using git? * Any git success stories you can share? * Anything else you'd like to say to mark the 10-year anniversary? -- Matthew Miller mat...@fedoraproject.org Fedora Project Leader ___ infrastructure mailing list infrastructure@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/infrastructure ___ infrastructure mailing list infrastructure@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/infrastructure