using git and github for non developers

Post on 25-May-2015

1.011 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

This was from a 1-hour lunch & learn session given Jan 2014 by myself to an audience consisting mostly of technical field personnel (titles like solution architect, pre-sales engineer, professional services engineer). The hook is that when working with deploying and maintaining complex software with many text configuration files (like Splunk), or when working in very small teams on "casual" software development or just hacking some scripts together, it's very beneficial to have a source code management tool in place. I chose git, and highlighted the sorts of features that this tool provides to those who ARE NOT developers.

TRANSCRIPT

Copyright © 2014 Splunk Inc.

Using Git and Github for Non-Developers

Hal Rottenberg - January 2014

AgendaSource Code Management BasicsWhat is Git (And why use it?)What is Github?Typical use cases for non-developersTutorials

2

ExpectationsHal is not a developer and does not claim to be oneConcepts will be simplified or MAYBE EVEN WAY WRONGYou won’t care and it doesn’t matter*Please ask questions!

3

4

Source Code Management BasicsMaintain sets of changes (revisions) to text filesCan be centralized or distributedKey strengths: workflow, collaboration, data integrityCommon terms include:– Working tree (folder | directory)– Add / checkin / checkout / clone– Commit / Commit log– Diff– Branch / merge– Push / Pull / Sync– Tag

What is Git?Free software made by Linus Torvalds for Linux kernel development in 2005Distributed SCMNo server, minimal requirements, easy to setup and useCLI and GUI clients available for all platformsPlugins exist for many text editors and IDEs

5

Why use it?Team size = 1; maybe just use Box>1 (or ever hope to have help); SCM is awesomeGit is among the easier SCM tools to useMature GUI clients for Mac & WindowsVery well documented, rabid fanbase communityAlternatives: SVN, Mercurial (hg), Perforce

6

What is Github?Commercial service which provides git hostingSocial network for developers which encourages collaborationFree and paid optionsPublishes widely-used Mac and Windows GUI clientsLightweight wiki and issue tracking features

7

Typical use cases for non-developersSplunk app developmentScript repositoryChange control

8

How to get started?Download GUI client from http://github.com (includes CLI)Clone an existing repo, or add existing code to a new repo

9

10

TutorialsCreate new local repoClone repo from webCommit changesReview changes

What’s Next?BranchingPull requestsTagging

11

Questions?

12

top related