Basic Quick command for GITHUB

#Git clone https://URL

#Cd your directory

#Code . (to open visual studio)

#git checkout -b “Branchname”  (create his branch , now you switch to the your branch)

Now its time to modfily the code After the changes run

# git add .

#git commit -m “testthebranch”  (these way you commit your changes and write description)

#git push -u origin Nishantbranc (commit the changes to the main)

#git checkout main (come back to main branch)

Thanks 🙂

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s