Skip to content

Latest commit

 

History

History
55 lines (34 loc) · 1.24 KB

git_instructions.md

File metadata and controls

55 lines (34 loc) · 1.24 KB

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 KMail.txt using vi

follow the commands below

vi KMail.txt

click insert / i

Type your karunya mail ID

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