Giter Club home page Giter Club logo

reptiles's Introduction

reptiles

BEFORE YOU START: fork this repo to your GitHub account

Ex 1 -- the basic idiom & knowing the difference between local and remote changes

PART 1 -- working with existing files

  • clone this repo to your local machine
  • look at the master branch log on your local machine
  • open and edit the cold_blooded.txt file on master
  • commit your changes to your local repo
  • look at the master branch log on your local machine
  • look at the master branch log on the remote GitHub Repo
  • what's the difference?
  • push your commit to the remote repo
  • look at the master branch log on your local machine
  • look at the master branch log on the remote GitHub Repo
  • what's the difference?

PART 2 -- working with new files

  • create a new file in local master called "lays_eggs.txt"
  • commit your changes to your local repo
  • look at the master branch log on your local machine
  • look at the master branch log on the remote GitHub Repo
  • what's the difference?
  • push your commit to the remote repo
  • look at the master branch log on your local machine
  • look at the master branch log on the remote GitHub Repo
  • what's the difference?

Ex 2 -- working with branches

PART 1 -- working with existing branches

  • from master, switch to the existing alligator branch
  • edit a file called "swims.txt" in the alligator branch
  • commit your changes to your local repo
  • push your changes to the remote repo
  • look at the alligator branch log
  • switch to the master branch
  • look at the master branch log
  • what's the difference?

PART 2 -- working with new branches

  • make a branch locally called tortoise
  • push the local branch up to your remote repo
  • create a file called "lives_on_land.txt" in the tortoise branch
  • commit your changes to your local repo
  • push your changes to the remote repo
  • look at the tortoise branch log
  • switch to the master branch
  • look at the master branch log
  • what's the difference?

PART 3 -- merging branches with master

  • switch to the master branch if you are not already there
  • look at the master branch log
  • look at directory
  • merge the alligator branch with master
  • look at the directory
  • what files now appear in the master directory?
  • look at the master branch log
  • what commits appear in the master branch log that weren't there before?
  • look at the remote directory and logs
  • push to the remote repo
  • look at the remote directory and logs
  • what has changed?

EX 3 -- playing with the timeline

  • in master branch
  • reset to before you merged the alligator branch with master
  • look at the directory
  • what files no longer appear in master?
  • look at the local master branch log
  • what commits no longer appear in the master branch log?
  • look on github
  • what commits appear in the remote master branch log?
  • what files appear in the remote master branch directory?
  • pull commits from the remote repo to your local machine
  • look at the directory
  • what files now appear in master?
  • look at the master branch log
  • what commits appear in the master branch log that weren't there before?

reptiles's People

Contributors

brianly avatar sarahelizgray avatar

Stargazers

 avatar

Watchers

 avatar  avatar

reptiles's Issues

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.