Coder Social home page Coder Social logo

k-hacks / hackotberfest2021 Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 53.0 1.24 MB

This repo is used to teach beginner students about git and open source projects.

C++ 9.47% Python 79.62% Java 10.90%
hacktoberfest hacktoberfest2021 event beginners-guide first-timers

hackotberfest2021's Introduction

Hey Guys follow the following commands to push your file to the repository

Note: Use your local git bash / terminal

Step 1: Fork the repository

On the top right corner of the repository page you will have an option fork

Step 2: click on code and copy the link of the repository.

Follow the commands given below

    git clone <link of the repo>
    cd <repo name>

Step 3: Create a Branch

    git branch <branch name>
    git checkout <branch name>

Step 4: Open <your file name> using vi

Follow the commands below

vi <your file name>

click insert / i

Type your code

click esc and type :wq

Step 5: Add and commit

    git add .
    git commit -m <message>
    git status 

Step 6: Push it to the branch

git push -u origin <branch name>

Step 7: Go to the repository page you forked in GitHub

Click on the new popup compare & pull request

Give a title and leave a comment

Click on Create pull request

Step 8: Sit back and relax and wait for your file to be added to the main branch

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.