Also Accepting Hcaktoberfest contributions
-
Fork and Clone the Repository.
git clone https://github.com/<YOUR_USERNAME>/Workshop_git.git
Note: You can clone anywhere you want but prefer Desktop for first time.
-
Make A seperate Branch (Branch Name: Roll No.).
git branch <New_branch>
---> Creating a new Branchgit checkout <New_branch>
---> Switching over new Branch (Eg. main->20bcs102)or
git checkout -b <New_branch>
---> Creating and switching over new Branch in single command -
Add a file in TEST Folder with File Name: Firstname_rollno.fileextension.
(Eg: Deepak_20bcs102.pdf, Deepak_20bcs102.txt, Deepak_20bcs102.py, Deepak_20bcs102.cpp etc)
-
You can add anything Inside the file (Eg: Code Script, Your Name, Class, Roll etc).
-
After Adding the file into TEST folder and making necessary changes stage the changes using
git add .
And now you are ready to commit the changes.
git commit -m "<MyCommit_RollNo.>"
-
Push Changes into Your Branch.
git push origin <BRANCH_NAME>
While Pushing the Changes...... You will be asked for
Username: git_username Passwork: access_token
-
Now Open GitHub website and open the Above repo you will be able to see the option for creation of pull request. Click over Compare and pull Request.
Now ! write something
- Final Step After writing commit message click over Create Pull Request.
Note: You will not get the option for Merge Pull Request as you are not owner of the repo.
Test Folder Added and updated Readme.md