This is a guide to use git Bash with Azure dev ops,
first we need to login at azure dev ops : https://azure.microsoft.com/en-us/services/devops/?nav=min
you can login from office 365 account, or sign in.
Once you are inside azure, you can create a repository :
You can check project properties to see how to clone at local repository:
Steps on the Computer:
$ cd /c/Test
jordi_c@LAPTOP01 MINGW64 /c/Test
$ git init
Initialized empty Git repository in C:/Test/.git/
jordi_c@LAPTOP01 MINGW64 /c/Test (master)
$ git add .
jordi_c@LAPTOP01 MINGW64 /c/Test (master)
$ git remote add test https://[azure dev name]@dev.azure.com/[azure dev name]/TEST/_git/test
jordi_c@LAPTOP01 MINGW64 /c/Test (master)
$ git commit
On branch master
Initial commit
nothing to commit
jordi_c@LAPTOP01 MINGW64 /c/Test (master)
$ git add .
jordi_c@LAPTOP01 MINGW64 /c/Test (master)
$ git commit
hint: Waiting for your editor to close the file…
[main 2019-05-22T09:26:38.831Z] update#setState idle
[main 2019-05-22T09:27:08.833Z] update#setState checking for updates
[main 2019-05-22T09:27:08.897Z] update#setState idle
[master (root-commit) eabd779] new file
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 test file.txt
then you can open the file on visual studio code and appears some new information at left bottom, if the file is modified and saved:
We can commit changes:
Then you can sincronyze the project with this icon: ( the program ask your credentials):
Thats all!!
then you can see the commits on azure , and have source control ready: