I will be presenting "Beginning Git" at 10:30am on this Saturday, 10/22 at the Bay Area Drupal Camp. Ever since I caught wind that Drupal was (finally!) moving off of the archaic CVS version control system, and started planning the Great Git Migration, I took it upon myself to be sure that I learn everything I could about Git.
The time was definitely right for me, in my walk of programming, to start using a version control system. I was writing more and more complex stuff, and I would often start off on a tangent working towards a Really Great Idea, only to determine that it was unfeasible... now what? My file system was rife with files of such creative names as "my_project.backup2.final.final.zip" and other much more useless nomenclature. True, most of my work was done alone, but it would be ridiculous to assume that nobody would ever want to collaborate or even just look at my projects.
Sound familiar?
Well, until recently, the Drupal project was on the CVS version control system. For its time, it was a tremendous program for programmers to collaborate. I'm not really knocking it (much) by saying this, but I know for a fact that I wasn't alone in that it was rather cumbersome to use. And it wasn't much fun to work on one's own computer. You really needed a server to use CVS (since it's a centralized system). Needless to say, it wasn't exactly feasible for my day-to-day workflow.
Enter Git.
Git was like a breath of fresh air. A simple installer on my Mac, and I was Up and Running. I can work on it on my own, I can bring in one or two other collaborators, and I can work together with thousands of Drupal community members. The commands are intuitive, and you can use as few as you can remember, or as many as you need to organize your project.
So, now I want to share the knowledge. I've presented this at Drupal Camp Sacramento Area in May, and I'm looking forward to this encore performance at the largest Drupal Camp ever (so far). If you want to follow along, attached is a pdf of my presentation. I'll link to the video once it gets posted.
Comments
I had the privilege of
I had the privilege of attending your "Beginning to Git It" talk twice, once at the Sacramento Drupal Camp, and again at BadCamp. I'm now starting to set up my own Git archives, and I've a couple of questions you might be able to answer for me without much effort (if it would be an effort, just point me in the right direction, and I'll chase the answers myself).
1. You demonstrated, and referenced, a Bash configuration that managed to display the current branch label as part of the Bash prompt. I thought I had copied down the reference, but can't find it in my notes. Do you have it handy to resend?
2. I find myself puzzling over the proper granularity for Git archives. On the one hand, putting my whole Drupal installation into a Git archive allows me to maintain it as a total installation, but I also note that parts of it are modules and projects that more or less stand on their own, as far as sharing with others is concerned. Is there a consensus out there about the proper granularity for Git archives? And what happens if you nest one archive inside another?
Some sort of answers
1. Here's the Lullabot article I mentioned: http://t.co/84ytC1UX
2. This is not an easy thing because there are many ways to do it and many schools of thought on the matter. Unfortunately, there is no "best practice" in the Drupal world for doing so. I'll try to describe some possible solutions for you.
First, Git isn't necessarily, on its own, the best deployment solution. If you're trying to do a full-on dev->test->prod automated code deployment system, Git may play an important role, but it's not going to be the be-all end-all. You'll likely end up using something like Jenkins for the automation. On the other hand, unless you're building a mission-critical web site along with several other developers, all working collaboratively, setting up all this stuff may be more trouble than it's worth.
Personally, unless I'm actually working on some core development, patch testing, etc., I normally don't put the whole Drupal core into Git. I'm happy enough just downloading core using Drush, or just the tarball package download. Then, I have some of the contrib modules as separate Git repositories. That way, I can patch them and stay on the bleeding "dev" edge of these modules. Some modules, if I'm not interested in working with the "dev" version, I'll just use Drush to download the recent release.
This isn't necessarily the "best" way to do it, but, as I mentioned, there really hasn't been a "best" way fully hashed out yet. Drupal has only been using Git since, what, March? And "best" for a one-man shop working on a side project is likely to be somewhat different thing than "best" for Lullabot working on a high-profile, high-performance web site, for example.
You ask about nesting one repository inside another. There's something in Git called "submodules". You can look into that, but I've heard that they're pretty complex and not necessarily ideal for this situation either.
The most promising direction I've seen is the DOG project (Drupal On Git) which is trying to solve this exact problem and find out the "best" way to do it. It's still in the very early planning stages, but you might get some ideas in their discussion. You can find more info here:
http://drupal.org/project/dog
I hope this was helpful. Sorry there's no silver bullet here... yet.
The whole article have good
The whole article have good piece of information about beginning to git It. This is new topic for me and good piece of content related to it mentioned here. Author did good research on it and part of his resarch like to shared with us. Infect, other friends did good participation in the whole dicussion. Thanks for it.
Start of everything should be
Start of everything should be positive. If anyone have idea to start any project then they must able to have strong plan to do this project or plan in right direction or towards the way of sucess. On the other hand, I try to get some reviews about https://www.needmypaper.com but this article help to change my thinking towards the positive change in life.
digital textile market
https://www.etexofab.com
ETEXOFAB, decided to come up with a digital marketplace ,delivering the best available fabrics, prices, people market intelligence for buyers, dealers and fabric manufacturers worldwide.
http://www.etexofab.com/About
http://www.etexofab.com/Contact
http://www.etexofab.com/videoList
http://www.etexofab.com/events
http://www.royalsmartshopping.com
Nice article, Enjoyed the
Nice article, Enjoyed the flow and loved to read it.
http://mancitycore.com
https://arsenalcore.com
Write the principle body of
Write the principle body of your essay. Each paragraph will increase one of the points that supports the thesis. Begin every paragraph with a topic sentence pointing out the concept you'll cover. Provide proof and rationalization to guide your point, and examine in detail. In the final sentence of the paragraph, hyperlink the factor on your thesis sentence.Support your thoughts with quotes from the textual content if you are completing a literary analysis. Secondary assets will also be required. Check along with your instructor to find out what he expects.Write your end. This should summarize your ideas and persuade the reader that your argument is proper. Re-iterate your thesis and avoid consisting of any new information for your end
nike air ma pas cher
http://www.musclegaintruths.com Basket Nike Air Max Command Blanc 629993-103. Basket | Ref : 629993-103. Coloris : Blanc / Noir / Orange. Matière : Cuir / Mesh. La chaussure Nike Air Max ..
Open your browser and paste
Open your browser and paste the link http://www.usbestessays.info/ into the browser to view the website. if you get a message page not found like in this one, then retry again, sometimes the server is busy and does not respond.
Instagram
http://easyfreefollowers.com
Great chance for Instagram users.
Education
Showing non-customary sports event to understudies may likewise provide the basic motivation to understudies to expand their action.
GitHub is the modern control
GitHub is the modern control version platform. Every IT company use it! even we at http://superiorspapers.us/ are fans of Git!
I initiate your blog via
I initiate your blog via Google though searching for such kind of educational post and your post looks very motivating for me. See more: http://www.theessayhelp.co.uk
Love this idea
<a href="http://igamelegit.com/racing-rivals-mod-apk-premium-features/">racing rivals mod apk</a> is the latest working modded apk which works in 2017, you should try this
you mean: http://igamelegit
you mean: http://igamelegit.com/racing-rivals-mod-apk-premium-features/
R Programming Assignment Help
I appreciate this work amazing post for us I like it.
programming help
Good way of telling, good post to take facts regarding my presentation subject matter, which i am going to deliver in my college
R Programming Assistance
Hi buddy, your blog' s design is simple and clean and i like it. Your blog posts about Online Dissertation Help are superb. Please keep them coming. Greets!!
Help With Solidworks Project
by visiting this site I found cool stuff here keep it up.
Help With Solidworks Project
I must say we should have an online discussion on this.
Do My SPSS Assignment
Things are very open and intensely clear explanation of issues. was truly information. Your website is very beneficial.
Digital Media Agency Karachi
Things are very open and intensely clear explanation of issues. was truly information. Your website is very beneficial.
项目写作服务
我真的想发一个小字,感谢你在这个网站上写的梦幻般的点。
Cheat Online Class
Such a nice post, keep providing good resources.
Write My Medical Dissertation Writing Service
I loved the way you discuss the topic great work thanks for the share.
Do My Auditing Project
Science Channel’s are giving a complete knowledge to its viewers about every thing students write done dissertation on this subjects and show its importance.
statistics homework help online
Really i appreciate the effort you made to share the knowledge. This is really a great stuff for sharing. Keep it up . Thanks for sharing.
game
This is the cool maths and gets the mathematical junction for kids and gets the maths games which makes the right choice for all and getting the things done which is mathematical background for kids because this is something which is good enough for all because as a reult of which free membership is given to the people and given things are always in working mode
Hottest Call Girls in 5 Star Hotels of Delhi
I enjoy reading a post that can make people think. Also, thank you for allowing for me to comment!
<a href="http://www.mahipalpurcallgirls.com/photos-gallery/">Delhi</a>
Outstation cab services
Looking for cab services in mumbai check this http://www.cabs2go.in/tours/mumbai-to-shirdi-car-hire/
Excellent post. Thank you
Excellent post. Thank you very much!!
Law Assignment Help Service
Thanx for sharing such useful post keep it up
Online Assignment Help - 1-844-752-3111
Our diligent assignment professionals involve into an in-depth analysis of different topics which can be split into series of steps such as topic analysis, Brainstorming, developing questions, beginning research, reading critically, structuring your assignment and last but not the least is the proofreading and editing.Our Toll Free Number is : 1-844-752-3111
Online Support -1-800-294-5907
Globaltech Squad team will help you overcome issues linked with your hardware, software in conjunction with its installation in your computer’s, laptops and smartphones. Apart from that Globaltech Squad will renovate your system with our online technical support that will fix your entire technical flaw. Our Toll Free Number is. USA: 1-800-294-5907 Canada: 1-844-573-0859 UK : 0-808-189-0272 Australia : 1-300-326-128, https://www.globaltechsquad.com/
Pretty good post. I just
Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Anyway, I’ll be subscribing to your feed and I hope you post again soon.
https://goo.gl/vX1RvJlery/
Best Service
I look at this Blog I am unbelievably Grateful to get this spread here. You should get this pass on online I am all around Happy to talk about this appreciative.
http://sofiyaloani.in/
Relatinship
Great information on this post and all the details are in this post is awesome.
http://www.callgirlsservicemahipalpur.comFNG8J/delhi.php
Best Service
Very amazing this is outstanding blog web page. composed material like yours renews my believe in in today’s writers. http://www.antakusuma.com/ You’ve released information I can gradually believe as well as make use of. thanks
Escorts in Gurgaon Service
Gurgaon Escorts
Escorts in Gurgaon is one of the most colorful and cultural city of Call Girl in Gurgaon and since it is the capital city, providing ample opportunities for various sectors including jobs, is a must here. Female Escorts in GurgaonThere are numerous good universities here which attracts students from all over the world and apart from that it is also emerging as one of the peaceful and safest city to work in. Independent Escorts in Gurgaon Looking at all these parameters, many people come to this city with a dream and most of them are able to achieve them with some efforts.
Escorts in Gurgaon Service
http://www.enjoydelhilife.in
Gurgaon Call Girl
Hello my name is Ahua and i am a Gurgaon Call Girl and i provide hot classy call girls in Gurgaon.
https://www.ahua.in/
it's really nice and meanful.
it's really nice and meanful. it's really cool blog. Linking is very useful thing.you have really helped lots of people who visit blog and provide them usefull information
http://www.theacademicpapers.co.uk/
escort
Yeah, I do believe you, this foods web page is one of my recommended weblogs, once you’ll be a frequent visitor of your website you will discover it even more.
https://goo.gl/GaKHyC
https://goo.gl/GaKHyC undangan pernikahan
http://bit.ly/1P41Awa undangan pernikahan
http://www.undangancinta.com
http://www.undangancinta.com undangan pernikahan artis
http://www.undangancinta.com undangan pernikahan arab
https://goo.gl/GaKHyC
https://goo.gl/GaKHyC undangan pernikahan
http://bit.ly/1P41Awa undangan pernikahan
I thank you for the
I thank you for the information! I was looking for and could not find. You helped me!
Apple support number
18004840081.iPhone,iPad,itunes,macintosh,macbook,apple id and Mac,, technical help. Contact to apple customer service for any technical query related to apple.
http://applesupportcentre.com/
Great post
Great post
http://applesupportcentre.com/apple-customer-service/
Awesome post
Awesome post
http://applesupportcentre.com/apple-tech-support/
A great post
A great post
http://applesupportcentre.com/apple-tech-support/
Pages