Gith Tool

Install Git

$ git --version

If you don't have it, following instructions on : https://git-scm.com/book/en/v2/Getting-Started-Installing-Git

Clone a Repo on your PC

Open your terminal and go to a folder where you want to copy repo and run the following

$ git clone https://user@domain/path.../RepoName

To see the list of branches created for that Git Repo + the active one, rung the following

$ git branch -a

Then to check the code published on a special branch for that git repo, run this

$ git checkout dev

To take locally update made on a branch

$ git pull origin dev

Then you can see the file present there, run

$ ls

Check your Git client configuration on PC:

$ git config --list
// configure at list username and email to be able to commit
$ git config --global user.name "IPConvergence"
$ git config --global user.email myemail@icloud.com
// To Commit code on Visual Studio, go on git icon, ... and select commit all then type
commit main

To update one or several files locally on PC and push them to Gith Repo

Make Pull Request and add a file on the main branch

Last updated

Was this helpful?