Syed FaisalNaseem

Syed FaisalNaseem

  • NA
  • 23
  • 1.9k

Local Git Repositories option in visual studio 2019

Jun 1 2020 1:58 AM

Hello. I have some confusion in the below mentioned visual studio 2019 window. I have created one project named firstprog as highlighted below. whatever the changes i made in coding i locally saved it through git and also i sync the code with github repository on the web.


and if i click on new local git repository (e.g. test) it will create it and show it just below firstprog.
 
1) Is test(repository) what i have created is a new project like firstprog?
2) or can i save different versions of my firstprog project in different repositories like test.
3) how can i save changes in firstprog in different repositories. e.g. suppose i wrote 3 lines of code and save it in test1 repository. then i write another 6 lines of codes and save it in test2 repository. and so on. how can we do that. So, for that reason everytime we have to create new local git repository. or everytime the changes will takes place in firstprog repository only.
 
thanks and regards,

Answers (3)