Git Product home page Git Product logo

gitactions_linkedinlearning's Introduction

Exercise Files for Learning GitHub Actions

The exercise files are located in folders named to match the chapter and lesson they accompany.

  • PREREQUSITES: You'll need to have the git command line tool installed for your system and access to a terminal program like GitBash on Windows or iTerm2 on macOS. The default terminal program for your system will work as well as long as the git program is in your PATH.

Using Exercise Files with Repositories

Follow these steps if you want to use the exercise files the same way they are used within the course.

We'll use the exercise files from Chapter 1, Lesson 1 for this example.

  • Create a repository on GitHub using the New Repository page. Name it something that relates to the lesson like ch01-01-01.

  • Download the exercise files and unzip the archive. If you are reading this, you have most likely completed this step! :D

  • Open a terminal window and change directories to the location where you unzipped archive. "CD" into the directory with the lesson you want to work with; for this example, we'll use Ch01/01_01.

      cd Ch01/01_01
    
  • Run the following commands to initialize the directory as a git repository.

      git init
      git add .
      git commit -m 'first check in'
    
  • Now add the new repository you created as a remote for the local repo.

      git remote add origin [email protected]:YOUR_GITHUB_USER_NAME_HERE/ch01-01-01.git
    
  • After the remote is added, push the files to the remote.

      git push -u origin master
    
  • Browse to the repository on GitHub.com and reload the page to confirm the files have been properly pushed.

Once the files are hosted on GitHub.com, you're ready to start making changes locally and pushing them to the remote repo.

gitactions_linkedinlearning's People

Contributors

sebastn avatar

Watchers

 avatar

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.