Skip to content

Repository for Git-it-done challenge, fork this repository and make a PR

Notifications You must be signed in to change notification settings

1pushpak1/Git-it-done

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GIT IT DONE - A Hands-On Webinar on Git & GitHub | Online

githubevent

About The Event

📅 January 23, 2022
🕕 6:00 PM – 8:00 PM (India Standard Time)
Join us for a free Microsoft Workshop on Git and GitHub on January 23rd, 2022 at 6PM IST hosted on Teams Live Event. Learn all about Git and GitHub, creating repositories, making branches, committing to other repositories, making pull requests, and more. Link for the workshop will be shared to you on the day of event. Please join using laptop for a smooth experience of the workshop.

Steps On How To Make Your Contribution.

Note: Just follow the following steps copy paste the commands and change them accordingly and you are All Set To Go 😀

Before all of this create a GitHub account and download an install the Git Bash as it was explained in the event

STEP 1

Set your user name and email in the gitbash using following commands (Replace the "Bob" and "[email protected]" with your name and email).

git config --global user.name "Bob"

git config --global user.email "[email protected]"

STEP 2

Generate a new SSH key for a hardware security key (Replace [email protected] with your actual email)

ssh-keygen -t ed25519 -C "[email protected]"

Source: https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent

STEP 3

Add your SSH key to the ssh-agent.

eval "$(ssh-agent -s)"

ssh-add ~/.ssh/id_ed25519

Source: https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent

STEP 4

Copy the SSH public key to your clipboard.

clip < ~/.ssh/id_ed25519.pub

After copying the key go to your github setting --> SSH keys and paste it there and give some title and save.

Source: https://docs.github.com/en/authentication/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account

Then do it for this repo and copy the SSH link to clone.

STEP 5

To clone the repo, fork the repo. and copy the SSH link and Create a new folder right click and open gitbash and run:

git clone link-you-copied

Replace the link with the copied link.

STEP 6

To move to the main directory run:

cd Git-it-done

Now we are in the main folder where we will run all of our commands

STEP 7

To create a new branch run:

git checkout -b branch-name

Replace "branch-name" name with the name that you want to give to this branch and don't add spaces between the name.

STEP 8

To check the status of your file run:

git status

STEP 9

To add files to staging area run:

git add .

STEP 10

To commit the changes run:

git commit -m "commit message"

Replace the "commit message" with actual message.

STEP 11

To push the chanegs run:

git push origin your-branch-name

Replace your-branch-name with your branch name that you created earlier.

Ex: git push origin test

STEP 12

After all of this go to https://github.com/mlsasrmncr/Git-it-done and create a PR.

So, finally you have created your first PR 🎉🌟

STEP 13

At last fill the Attendance Form for Certificate here : https://forms.gle/yHYYzcRpU2ze7ENe6

Thankyou! 😊

Our Speakers 🗣

About

Repository for Git-it-done challenge, fork this repository and make a PR

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published