GithubHelp home page GithubHelp logo

basic-github-steps's Introduction

Basic Github Steps

1) Fork the repo

This will make a copy of the repository on your Github account.
It is important to do this step first, or you won't be able to save the changes you make to the code.
Remember:
This is a button on the github website up in the right hand corner of the repo you want to copy

2) Clone the repo FROM YOUR ACCOUNT, NOT DEVMOUNTAIN'S ACCOUNT (or any other account that you are copying repos from)

This downloads a copy of the code onto your computer. Then, when you commit your code you can push the changes up to Github to be saved onto your account.
If you forget to fork, or if you fork but forget to clone FROM YOUR COPY you cannot push your changes to Github and save your progress.
Remember:
git clone [url of the repo here]

3) Make your changes to the code and commit often

Work on your project and remember to commit often.
Remember:
git status
git add [whatever files you want to save]
git commit -m 'I AM A MESSAGE'

4) Save your changes on Github


When you've made good progress or you've finished with your project, you're going to push your changes to github.
Remember:
git push origin master

4.5 ) Push a few times a day

You can push as many times as you need to. I would recommend commiting (see step 3) several times a day, and pushing once or twice (when you've finished a significant junk of code)

basic-github-steps's People

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.