Skip to content

BenvinD/Git_Workshop_2021

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Make changes in this Repository and practice git.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published