Skip to content

K-Hacks/HacktoberFest-2022

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hi, I have forked this. LOL

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