Visual Studio – How To Show The Remote Repos Inside The Visual Studio ?


VS Code – How To Show The Remote Repos Inside The Visual Studio ?

Step-1: Clone The GitHub Repo

git clone https://github.com/metro-digital-inner-source/dasc_assortment_delisting.git

Step-2: Move Into The Downloaded Folder

cd AO

Step-3: Check The Current Branch & Latest Branch

git status
git branch
git pull origin main

Step-4: Create Your Own Branch

git switch -c subrat/ao-learning

Step-5: Conform The Working Branch

git branch
The * indicates the branch you're currently working on.

Step-6: Make Changes In VS Code.

Open and edit the project files. Then check what changed:
git status
git diff
git status shows changed and untracked files.
git diff shows the actual changes to tracked files.

Step-7: Stage And Commit Your Changes

git add .
git status
git commit -m "Describe your changes"

Step-8: Push your branch to GitHub

git push -u origin subrat/ao-learning

Step-9: Create a Pull Request

Leave a Reply

Your email address will not be published. Required fields are marked *