1 applied cyberinfrastructure concepts ista 420/520 fall 2015 1

Post on 03-Jan-2016

221 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

1

Applied CyberInfrastructure Concepts

ISTA 420/520 Fall 2015

1

Version control with Git

2

https://xkcd.com/1296/

Docker Vs. Git

Discussion

3

Version control

Do we really need it ? How will we use it Do you have your git hub account ? Git != Git Hub Git Hub is your CV/Resume

4

Example of why having a public code repo is important

5

Example of why having a public code repo is important

6

7

What does GitHub say about you?

8

What is GIT?

9http://git-scm.com/book/en/v2

What is GitHub?

10

Tracking programming trends

11http://www.wired.com/2015/08/github-data-shows-changing-software-

landscape/

How is Git used? Install git Config yourself (git config) Initialize a project (git or GitHub)

git init git clone

Git going. . . Make files, edit files git add git commit git push

12

13

14

Getting started

Add new files

15

Log

16

Oops!

17

18

Oops!

What is ‘HEAD’ in Git?

Oops!

19

Safe (revert is part of history)

Unsafe (no recovery after reset)

Some other useful git commands

git status git diff

20

When do things get fun?

21

Hands on with Git!

Initialize a git repo Check it into your GitHub repo Create/modify a file Add, commit, push If you know how to do this, find

someone who doesn’t and help them.

22

http://naupaka.github.io/2015-02-21-iplant/novice/git/index.html

top related