Microsoft ALM User Group – Migrating To Git And Staying Alive

Wednesday, September 6, 2017

Last Wednesday 06/09/17 I gave a talk about Migrations from TFVC to Git in Microsoft Raanana as part of the ALM User Group. In this talk we discussed the advantages and disadvantages of Git in comparison to TFVC (TFS Version Control), we reviewed the implications and points to take into account when migrating to Git, we analyzed the keys to a successful migration, we saw how to plan it, how to perform it and finally how to get used to Git once we have migrated. All of this from a theoretical point of view as well with a practical...

Avoid Excessive Database Growth for Git-TFS Users

Monday, June 5, 2017

Let’s see some tips to avoid the excessive growth of the database if you are using Git in TFS...   Keep in mind that in Git-TFS there is not “git gc” implemented in the server side This means that once you push a change to the database it will remain in the database forever (yes, forever). The only way to remove it is to delete the whole repository Nevertheless this fact allows us to recover at any moment any thing that we have deleted (see how here)   Avoid to push the same...
no comments

Recovering Deleted Branches/Commits In Git-TFS

Monday, May 29, 2017

In Git TFS there is not “git gc” implemented in the server side. At first sight this can be a big problem because once you push a change to the database it will remain in the database forever (yes, forever). The only way to remove it is to delete the whole repository. Nevertheless this fact allows us to recover at any moment any thing that we have deleted. Let’s see how achieve this…   1) Get the Internal Repository ID: SELECT Name, InternalRepositoryId FROM .. ORDER BY InternalRepositoryId   2) Search the deleted branch in the reflog using the following query: SELECT DISTINCT...
no comments