Giter Site home page Giter Site logo

workshop_git's Introduction

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->20bcs102)

      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: Deepak_20bcs102.pdf, Deepak_20bcs102.txt, Deepak_20bcs102.py, Deepak_20bcs102.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

  • workshop_git's People

    Contributors

    deepak91168 avatar

    Stargazers

    Gargi Dhawan avatar

    Recommend Projects

    • React photo React

      A declarative, efficient, and flexible JavaScript library for building user interfaces.

    • Vue.js photo Vue.js

      ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

    • Typescript photo Typescript

      TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

    • TensorFlow photo TensorFlow

      An Open Source Machine Learning Framework for Everyone

    • Django photo Django

      The Web framework for perfectionists with deadlines.

    • D3 photo D3

      Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

    Recommend Topics

    • javascript

      JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

    • web

      Some thing interesting about web. New door for the world.

    • server

      A server is a program made to process requests and deliver data to clients.

    • Machine learning

      Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

    • Game

      Some thing interesting about game, make everyone happy.

    Recommend Org

    • Facebook photo Facebook

      We are working to build community through open source technology. NB: members must have two-factor auth.

    • Microsoft photo Microsoft

      Open source projects and samples from Microsoft.

    • Google photo Google

      Google โค๏ธ Open Source for everyone.

    • D3 photo D3

      Data-Driven Documents codes.