+ All Categories
Home > Technology > Using git and github for non developers

Using git and github for non developers

Date post: 25-May-2015
Category:
Upload: hal-rottenberg
View: 974 times
Download: 0 times
Share this document with a friend
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.
Popular Tags:
12
Copyright © 2014 Splun Inc. Using Git and Github for Non- Developers Hal Rottenberg - January 2014
Transcript
Page 1: Using git and github for non developers

Copyright © 2014 Splunk Inc.

Using Git and Github for Non-Developers

Hal Rottenberg - January 2014

Page 2: Using git and github for non developers

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

2

Page 3: Using git and github for non developers

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

Page 4: Using git and github for non developers

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

Page 5: Using git and github for non developers

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

Page 6: Using git and github for non developers

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

Page 7: Using git and github for non developers

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

Page 8: Using git and github for non developers

Typical use cases for non-developersSplunk app developmentScript repositoryChange control

8

Page 9: Using git and github for non developers

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

Page 10: Using git and github for non developers

10

TutorialsCreate new local repoClone repo from webCommit changesReview changes

Page 11: Using git and github for non developers

What’s Next?BranchingPull requestsTagging

11

Page 12: Using git and github for non developers

Questions?

12


Recommended