Giter VIP home page Giter VIP logo

git101's Introduction

Git and GitHub for beginners

Any important git-related words are bolded

In this tutorial we're going to simulate what it would be like working on a big, collaborative project. This will involve making changes to the code base, opening up a pull request (PR) and merging your code into the master branch.

Step 0: Send me your GitHub username

To push code changes to a GitHub repository, you must be listed as a collaborator on that repository. Please email me your GitHub username at [email protected] so I can add you as a collaborator to the gittutorial repository.

Step 1: Cloning from a remote server to your local machine

The process of downloading a repo from a remote server to your local machine is known as cloning.

To clone a repo, first you need to copy the repo's URL as seen below.

Move to where you want to place the project on your local machine using the cd (change directory) command. For instance if you have a 'projects' folder on your desktop, you'd do something like cd ~/Desktop/projects

When you clone a repo, it downloads a brand new folder which contains all the files inside of it (so you don't need to make a specific folder for the project)

Once you're in the location you want to be, in the terminal, use the command:

git clone https://github.com/diego-thebridge/git101

It should look something like:

git101's People

Contributors

diego-thebridge avatar odasp avatar sarubadoru avatar cynthiamaldonado avatar pilardenia avatar pablorl94 avatar oagafonova333 avatar neithan82 avatar ivanhoeve avatar gonzalo71 avatar borcoferpa92 avatar ssenoris avatar migbor avatar mrentem avatar pramog avatar dibmar avatar blancamir avatar anavh avatar e2tovar 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.