Skip to content

Easy Guide to for Github and Vs code Workflow ! This will help you to kick start your journey soon !!

License

Notifications You must be signed in to change notification settings

rohan-kulkarni-25/Learn-GITHUB

Repository files navigation

GITHUB + VS CODE

TRIBUTE TO CONTRIBUTORS

⭐ STAR THIS REPOSITORY THIS WILL PAY OF MY WORK


Let's learn the basic workflow of Contribution on Open Source Projects !



There is also a HANDS ON DEMO CHECK BELOW !



PREREQUISITES :-

  • Github Account

  • Laptop

  • The Most Important Dedication πŸ˜†




Git Setup :-


  • Download Git as per your OS.

  • Install Git

  • Open the Git Bash ( Right Click )

  • Run the Commands

  • $ git config --global user.name "Your Name"

    $ git config --global user.email youremail@example.com

    $ git config --list

  • You Should see your entered name and email under `user.name` & `user.email`




Setting Project on Local System :-


  • Fork the Repository of Project




  • ( You will see this on Top Right of Github Repository !)

  • Clone the Repository




  • ( Click on the Green Code button and Copy the link `https://github.com/........` )

  • Open Git bash where you want to clone the project ( Avoid On Desktop )

  • Run Command

  • git clone link

    (In Place of link paste the link you copied)

  • Project Cloned in System




Using Vs-Code for Working on Project




  • Don't Forget to Pull Before making Commit this will avoid merge conflicts

  • After Making certain amount of changes you can save the changes by `CTRL + S` πŸ˜…

  • Stage the changes



  • (Stage All Changes)
  • Commit Changes



  • (Commit Staged)
  • Push Changes



  • (Push)



Creating Pull Request on Github

  • Go in Pull Request Section

  • Create New Pull Request

  • Create New Pull Request

  • Add Title, Description & Create Pull Request

  • That's It You have Succesfully Created a Pull Request


HAND-ON DEMO

As you have learned to fork, clone, make changes and also to push those changes and even we learned to create Pull request !


Now You have one Task to do !!

You have to create a issue. You will get option to create a issue as `Add Myself as Learner !!`


There is one file index.html you have to copy the text given below and paste the code in file !!


After the src in image tag there is my username `rohan-kulkarni-25` In place of that you have to add your github username !! Make sure there is `.png` after you enter your username !! Also Enter you name In place of mine inside the `P` tag !! Paste the edited content in index.html as per the sequence above the line `Paste here`


You have to create a Pull Request and add `Fixes #IssueNumber` in description !! Issue number is the number of issue you created !


COPY THIS πŸ‘‡πŸ»

<div class="individual"> <div> <img class="avatar" src="https://www.github.com/rohan-kulkarni-25.png"> <p class="name">Rohan Kulkarni</p> </div> </div>


Connect with me 🀝🏻

LinkedIn Twitter

Add Myself as Learner !!