Git Product home page Git Product logo

y2s19-git's Introduction

y2s19 git lab

Cloning a Repo

  • First you'll want to fork this lab, which will make a copy of it for yourself. When you push code, you will make changes to the github repository, so you should make changes on your own code. alt text
  • Next you need to clone the repository you just forked. Copy the clone link with this button: alt text
  • Open a terminal and cd into wherever you want to put this lab. Then type git clone and paste in the link you copied.
  • Find the folder you just clones using the file explorer and tell yourself you did a good job.

Pushing Away

  • Add a file to the folder. Any file you want it doesn't matter.
  • Go back to the terminal and cd into the folder you just cloned.
  • Add the file you just changed using git add. Now the files are ready to commit
  • Commit the changes
  • Push the changes
  • Go to github, open this repo and check that in the repo the file you just added is there.

Pulling Back

  • On github, click on the README.md file alt text
  • Click on the pencil icon alt text
  • Type something in the file and then click Commit changes at the bottom of the page. Now the repo has been changed, so the local copy on your computer is now out-of-date!
  • To fix this, go to your terminal and type git pull. This will get the changes from the github repository and apply them to your local repo.

y2s19-git's People

Contributors

caboonie avatar rami44 avatar

Watchers

James Cloos 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.