Giter Club home page Giter Club logo

getting-started-with-git's Introduction

Getting started with Git

This repository is for first time contributer to get accustomed with git. There is a simple excercise which will help you understand git better.

How to start ?

  1. First, fork this repository to your account.

  2. Make sure you have git installed in your system using this command in either gitbash or powershell or command prompt(windows) or terminal(ubuntu).

        git --help
    

If it gives error, you need to first install git.

  1. Clone this repository (this would make rebasing easier).

    git clone https://github.com/mohitkh7/getting-started-with-git.git
    
  2. Add a remote to your forked repository. This remote will be needed to push your changes to your repo.

    git remote add myfork https://github.com/<username>/getting-started-with-git.git
    
  3. Create a new branch and switch to it. (make sure you are on master before doing this).

    git branch mybranch
    git checkout mybranch
    

    'mybranch' can be replaced by your preferred name for the branch. The above to commands are equivalent to the following

    git checkout -b mybranch
    
  4. Complete the exercise given below.

  5. After you are done making changes, push the branch to your fork.

    git push -u myfork mybranch
    
  6. Then create a Pull Request from that branch using GitHub.

Exercise

Exercise 0 - Introduce yourself

Inside the Introduction folder create a new file < your_username >.md and write your brief introduction using markdown syntax.

For any help related to markdown you can refer this guide.

getting-started-with-git's People

Contributors

aaditya1499 avatar chauhannishh avatar mohitkh7 avatar muskan2408 avatar pavan-choudhary avatar sarthaksri98 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.