Git Tutorial - How to Create a Full Project

Similar documents
Version Control. Version Control

Annoyances with our current source control Can it get more comfortable? Git Appendix. Git vs Subversion. Andrey Kotlarski 13.XII.

Introduction to Version Control with Git

Version Control with Git. Dylan Nugent

MOOSE-Based Application Development on GitLab

Version Control! Scenarios, Working with Git!

Version Control with Git

Version Control with Svn, Git and git-svn. Kate Hedstrom ARSC, UAF

Introduction to the Git Version Control System

Version control with GIT

Introduction to Version Control

MATLAB & Git Versioning: The Very Basics

Git. A Distributed Version Control System. Carlos García Campos carlosgc@gsyc.es

Introduction to Version Control with Git

Version Control with Git. Kate Hedstrom ARSC, UAF

Git Basics. Christopher Simpkins Chris Simpkins (Georgia Tech) CS 2340 Objects and Design CS / 22

Version Control with Git

FEEG Applied Programming 3 - Version Control and Git II

PKI, Git and SVN. Adam Young. Presented by. Senior Software Engineer, Red Hat. License Licensed under

Version Control with Git. Linux Users Group UT Arlington. Rohit Rawat

Version control. with git and GitHub. Karl Broman. Biostatistics & Medical Informatics, UW Madison

Using Git for Project Management with µvision

Using GitHub for Rally Apps (Mac Version)

CPSC 491. Today: Source code control. Source Code (Version) Control. Exercise: g., no git, subversion, cvs, etc.)

Software configuration management

Lab Exercise Part II: Git: A distributed version control system

Software Configuration Management. Slides derived from Dr. Sara Stoecklin s notes and various web sources.

Gitflow process. Adapt Learning: Gitflow process. Document control

Data management on HPC platforms

Git Branching for Continuous Delivery

An Introduction to Mercurial Version Control Software

How to Create a Free Private GitHub Repository Educational Account

Version Control for Computational Economists: An Introduction

Version Control with. Ben Morgan

Work. MATLAB Source Control Using Git

Software Configuration Management and Continuous Integration

Introduc)on to Version Control with Git. Pradeep Sivakumar, PhD Sr. Computa5onal Specialist Research Compu5ng, NUIT

Windows XP Exchange Client Installation Instructions

Continuous Integration. CSC 440: Software Engineering Slide #1

Source Control Systems

Two Best Practices for Scientific Computing

Module 11 Setting up Customization Environment

Version Control Tutorial using TortoiseSVN and. TortoiseGit

How to... Order or transfer a domain

Version Control using Git and Github. Joseph Rivera

using version control in system administration

Introducing Xcode Source Control

Miguel A. Figueroa Villanueva Xabriel J. Collazo Mojica. ICOM 5047 Capstone Miguel A. Figueroa Villanueva University of Puerto Rico Mayagüez Campus

Git Basics. Christian Hanser. Institute for Applied Information Processing and Communications Graz University of Technology. 6.

Version Uncontrolled! : How to Manage Your Version Control

CISC 275: Introduction to Software Engineering. Lab 5: Introduction to Revision Control with. Charlie Greenbacker University of Delaware Fall 2011

The Hitchhiker s Guide to Github: SAS Programming Goes Social Jiangtang Hu d-wise Technologies, Inc., Morrisville, NC

Migrating into Drupal 8

DAVE Usage with SVN. Presentation and Tutorial v 2.0. May, 2014

Improving your Drupal Development workflow with Continuous Integration

Achieving Continuous Integration with Drupal

vs. Web Site: Blog: blog.soebes.com Dipl.Ing.(FH) Karl Heinz Marbaise

Version Control with Subversion and Xcode

Lab 1 Whatsup Watson Hands-On Lab

DevShop. Drupal Infrastructure in a Box. Jon Pugh CEO, Founder ThinkDrop Consulting Brooklyn NY

Version Control Systems: SVN and GIT. How do VCS support SW development teams?

GitLab as an Alternative Development Platform for Github.com

Source Code Management for Continuous Integration and Deployment. Version 1.0 DO NOT DISTRIBUTE

Source Control Guide: Git

Introduction to Git. Markus Kötter Notes. Leinelab Workshop July 28, 2015

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer GIT

Derived from Chris Cannam's original at, an.

Version control. HEAD is the name of the latest revision in the repository. It can be used in subversion rather than the latest revision number.

Gravity Forms: Creating a Form

Introduction to Open Atrium s workflow

CS 2112 Lab: Version Control

Developer Workshop Marc Dumontier McMaster/OSCAR-EMR

Eliminate Workflow Friction with Git

HIPAA Compliance Use Case

Intro etckeeper bup ikiwiki git-annex vcsh mr Zsh Outro. Gitify your life. web, blog, configs, data, and backups

Continuous Integration

Using Git for Centralized and Distributed Version Control Workflows - Day 3. 1 April, 2016 Presenter: Brian Vanderwende

Advanced Computing Tools for Applied Research Chapter 4. Version control

MyanPay API Integration with Magento CMS

Version Control Systems

OS X Modular Imaging and Deployment using Free and Open Source Tools

Enterprise-level EE: Uptime, Speed, and Scale

Version Control Script

Understanding Code Management in a Multi-Vendor Environment. Examples of code management in a multi-team environment

ISVforce Guide. Version 35.0, Winter

Record Tagging for Microsoft Dynamics CRM

Pragmatic Version Control

Dry Dock Documentation

Pro Git. Scott Chacon *

Distributed Version Control with Mercurial and git

An Introduction to Git Version Control for SAS Programmers

Integrated version control with Fossil SCM

Master s Thesis. git-sprite: Supporting Tool for Pull-Based Software Development Model. Yusuke Saito

Transcription:

Git on Drupal.org: It's Easier Than You Think Randy Fay and Alan Burke http://chicago2011.drupal.org/sessions/git-drupal-org-it-s-easier-you-think

Cheers! An incredible team worked with amazing intensity to bring you the delights of Git. Let's honor them: Sam Boyer (sdboyer) Melissa Anderson (eliza411) Marco Villegas (marvil07) Mike Prasuhn (mikey_p) Angie Byron (webchick) Sarah Prasuhn (sarah_p) Trevor Hardcastle (chizu) Howard Tyson (tizzo) James Gilliland (neclimdul) Derek Wright (dww) Narayan Newton (nnewton) Randy Fay (rfay)

What does the Git Transition Mean to Me? Every member of Drupal.org can now create a sandbox and commit code. The application to create full projects is about the same. Anyone who has agreed to the Git Access agreement can be added as committer to any project. Managing code is *so* much easier!

What We'll Cover Configuring your account for Git on Drupal.org Configuring your local account Cloning and collaborating via patches Creating a sandbox project Creating a full project Managing a full project o Branching o Tagging o Creating releases Collaborating with other maintainers Using the patch workflow Questions and Answers

Configuring your Drupal.org account Log in and edit your account Click "Git Access" tab Agree to the Git Access Agreement Follow the instructions

git config --global color.status auto git config --global color.branch auto git config --global color.interactive auto git config --global color.diff auto git config --global push.default tracking git config --list # To see everything you have set Configuring your local account Follow the instructions Consider which email account to use git config --global user.name "Your Name" git config --global user.email you@example.com or git config --global user.email you@99999.no-reply.drupal.org

Checking out code to make a patch Go to the project page, for example http://drupal.org/project/examples Click on "git instructions" Follow the instructions to clone, select a branch, create a patch.

Create a sandbox project Visit the "Your Projects" tab Click the Add a new project link (http://drupal.org/node/add/project-project) Fill in the requested information making sure that the "sandbox" checkbox is checked. (If you didn't have the "Git vetted user" role, equivalent to CVS access permission, it would be checked and disabled.) You now have a sandbox Follow the Git Instructions tab to set it up

Add to your sandbox project 1. Visit "Git instructions" tab and follow the instructions there. 2. Do and push additional commits as you see fit. 3. View your commits on the project page "View commits".

Add committers You can now grant privileges on your project to anyone who has agreed to the Git Access Agreement. Just add them on your project's "Maintainers" tab.

Creating a full project Just the same as a sandbox, but without the sandbox checkbox!

Creating a tag, branch, and release git checkout -b 7.x-1.x git push origin 7.x-1.x Add a dev release for 7.x-1.x-dev git tag 7.x-1.0 git push origin 7.x-1.0 Visit the project page and "Add release"

Collaborating with other committers Pull before you commit: git pull --rebase Use branches as necessary to coordinate Use long-running branches and merge as necessary Workflows: http://drupal.org/node/1054594

Using GUI Tools There are lots of excellent GUI tools for each platform. If you understand how Git works, they will all work fine for you. But please understand that Git is not Subversion or CVS. The command line startup is probably the best way to really understand how things work.

What next? Git support BoFs today (NOW) at noon (Huron today) Great docs at http://drupal.org/documentation/git Pro Git book, buy it or read on line http://progit.org Version Control with Git book Drupal.org Workflows: http://drupal.org/node/1054594 Randy's blog, http://randyfay.com

What did you think? Locate this session on the DCC website: http://chicago2011.drupal.org/sessions Click the Take the Survey link. Thanks!