Source control in TFS rather than Git

Hi all

I’m using TFS for version control (Git not supported) and trying to work around some of the limitations of this approach. Firstly, does anyone else use TFS?
As there is no inbuilt integration for TFS, I’m using it to store code and this is coordinated within the team by checking out code and then back in at the end of each day - essentially the project in TFS is a mirror of the project on the local device used for testing.
One change I want to make immediately is to use the equivalent of ‘gitignore’ (in TFS you use ‘exclude’) to only check in relevant files (eg test cases, objects etc)… In line with gitignore list mentioned here:
[https://docs.katalon.com/katalon-studio/docs/git-integration.html#share-project](http://Git integration)
Any other considerations do you think might be useful? I want to eliminate any issues around shared objects, sharing global variables etc! Is there a definitive ‘Gitignore’ list - I notice a few different opinions on here.
Many thanks,
Dan

So i dont use git directly for source control either - My team use source tree which is part of atlassian as we use alot of there other tools for dev and testing. Now ive never used TFS but i can only assume it works in a similar manor as all other source control tools do.

Now for me i use the same file as the one found in this thread (the top one) - when it comes to .gitignore its all about what works best for you and your project.

If this doesnt work for you - you may also want to have a read of this

1 Like

Also i assume you have already seen this doc - but if not

@hpulsford
Thank you for the links - I think that’s enough to convince me and I’ll start with the recommended ‘ignores’.
Also thanks for the Integration document - yes I have seen before and use a similar method, albeit outside of TFS.
Cheers, Dan

1 Like

Some feedback on using other solutions for source control:
A limitation I have in non-GIT source control is that changing a name of a file (eg test case) in Katalon or deleting the file is not managed automatically by TFS.

  • For a name change, you can end up with a new file in TFS plus the original file, with the original name.
  • In the second case, you end up with a file in TFS that is not in local drive.

If you then ‘get latest version’ you will end up downloading the previously-deleted or name-changed file.

TFS gives option to ‘Compare Folders’ which appears to be the only way to manage this