1

I am an oracle database developer. My organization is using VSTS repos for code storage. For people who are working with Visual studio, it is easy to check in codes. But for Db people, we always have to check-in the code manually by dragging in.

is there any way to connect to vsts repos source control with oracle tool? We are using TFVC as our version control (and not GIT).

James Z
  • 12,209
  • 10
  • 24
  • 44

2 Answers2

2

According to your comment, seems you are using TFVC as your source control. Assuming you are working on windows platform, check in command should be the one you are looking for.

In the following examples, the %PathToIde% is usually on a path like this: %ProgramFiles%\Microsoft Visual Studio 9.0\Common7\IDE, or on Windows x64: %ProgramFiles(x86)%\Microsoft Visual Studio 10.0\Common7\IDE (depending on Visual Studio version and installation settings).

Example for get:

cd C:\TFS\Arquitectura

"%PathToIde%\TF.exe" get $/Arquitectura/Main /recursive

Example for checkout:

cd C:\TFS\Arquitectura

"%PathToIde%\TF.exe" checkout $/Arquitectura/Main /recursive

Example for checkin:

cd C:\TFS\Arquitectura

"%PathToIde%\TF.exe" checkin $/Arquitectura/Main /recursive

Source Link

If you are working on Linux, take a look at this blog-- Team Foundation Version Control and the Linux Command Line

PatrickLu-MSFT
  • 49,478
  • 5
  • 35
  • 62
  • do I need visual studios installed for using tf.exe ? or I can download it from somewhere ? I don't have visual studios installed – Biswajit Buragohain Jun 06 '20 at 07:32
  • 1
    @BiswajitBuragohain Visual Studio is not necessary. You need to install **Team Explorer**, it's best to install the version of Team Explorer that matches the version of TFS you are using e.g. if you're using Azure DevOps 2019 then install Team Explorer 2019. https://stackoverflow.com/questions/5503858/how-to-get-tf-exe-tfs-command-line-client – PatrickLu-MSFT Jun 08 '20 at 09:38
  • Hey @PatrickLu-MSFT thanks for your help. Really appreciate it. – Biswajit Buragohain Jun 12 '20 at 16:02
0

Sounds like you should look at the TF.exe CLI. This CLI lets you pretty much do everything that you can in the VS GUI.

Here's a link to the Microsoft doc's for TF, Use Team Foundation version control commands

Greg Duncan
  • 301
  • 2
  • 3