Coder Social home page Coder Social logo

introduction_to_git's Introduction

Introduction to git

Introductory workshop on git and GitHub. In the introduction, we will cover both the basics of git and GitHub and introduce you to an easy pipeline to version control your scripts.

Hands-on workshop

April 26, 2018, CFIN

introduction_to_git's People

Contributors

britta-wstnr avatar cjayb avatar madsjensen avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

introduction_to_git's Issues

materials and methods

We need a demo git workflow!

Quick-and-dirty: work directly on master

  • demo basic usage here

'Feature branch'-way

  • introduce branches

Exercise

  • short text file ('poem'), with hard line breaks
  • modify (how?) the text, use git to track
  • talk about transfer to code...

Installing Git (customising)

  • set up a github account (before course)
  • set username and email

Choose your favourite text editor

  • Why do I need one, what's a text editor?
  • Linux: use gedit

Prerequisites

  • read notebooks on CLI
  • make sure you have
    • a linux/mac laptop, OR
    • a win laptop with remote desktop access to hyades (VPN account needed!!!)

Adding vs. committing

  • staging, commits, files
  • once I commit, is it online?
  • making more changes, committing them
  • reverting/going back in time

Additional reading

WIP what's this all about?

Key points:

  • Motivation for using version
  • How does git work:
    • add/commit
    • branches
  • How does GitHub work and why use it?:
    • remote repos
    • sharing code

Program:

  1. Intro/refresher on command line
  2. Intro to git
  3. Intro to GitHub.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.