-
Fork the repo.
-
Copy the Code of the forked repo i.e. (your-username)/Git-GitHub-Workshop.
-
Download Git Bash
-
Change your directory to Desktop
cd Desktop
-
Clone the repo.
git clone https://www.github.com/[your-username]/Git-GitHub-Workshop.git
-
Go to Hacktoberfest 2020 directory.
cd Git-GitHub-Workshop
-
git init
-
Change branch from master to branch of your full name.
git checkout -b <your-name>
-
Create [your-name].txt in Notepad or your favourite IDE - VS Code, Atom, Brackets etc.
-
Write your name, github profile url, Class, Enrollment number.
-
Save these changes.
-
Open Git Bash and change directory to Git-GitHub-Workshop in case you closed Git Bash previously.
-
Write
git add .
-
Commit your changes
git commit -m "Add contributor [your-name]"
. Write your full name in [your-name]. -
Now push your changes to the cloned repo
git push -u origin <branch-name>
-
Go to the Hacktoberfest2020 repo in your profile
-
Create a pull request to the master branch of dsc-hmritm/Git-GitHub-Workshop.
-
Notifications
You must be signed in to change notification settings - Fork 13
dsc-hmritm/Git-GitHub-Workshop
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Learn how to make a PR in a repository