Skip to content

ice-009/GIT_workshop_ISTE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GIT/GIT-HUB WORKSHOP


  • Do not jump Directly over Solution use the following hints and try to do it Yourself!
  • You are required to make changes only in Test folder rest should be untouched.

    Task

    1. 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.

    alt text for screen readers

    1. Make A seperate Branch (Branch Name: Roll No.).

      git branch <New_branch> ---> Creating a new Branch

      git checkout <New_branch> ---> Switching over new Branch (Eg. main->21BMA003)

      or

      git checkout -b <New_branch> ---> Creating and switching over new Branch in single command

    2. Add a file in TEST Folder with File Name: Firstname_rollno.fileextension.

      (Eg: Mehul_21BMA003.pdf, Mehul_21BMA003.txt, Mehul_21BMA003.py, Mehul_21BMA003.cpp etc)

    3. You can add anything Inside the file (Eg: Code Script, Your Name, Class, Roll etc).

    4. 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.>"

    5. 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

    6. 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.

    alt text for screen readers

    Now write something

    alt text for screen readers

    1. Final Step After writing commit message click over Create Pull Request.

    alt text for screen readers

    Note: You will not get the option for Merge Pull Request as you are not owner of the repo.


    Have a look over Changes

    Test Folder Added and updated Readme.md

    alt text for screen readers

  • About

    No description, website, or topics provided.

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published