I am actually facing a small issue at work. We are using TFVC with a Dev and Prod branches. We only commit changes to the Dev branch once the new feature is finished and fully tested (there's not possibility to have a separate branch per feature, nor to migrate this project to Git).
I need to be able to compare the work i did today with the one from yesterday. There's the shelveset option (via the compare shelveset plugin, but it doesn't work quite well with VS2015).
So the other option I can see is to copy the files flagged as "modifed by" from my workspace into another local git repo, so i can do a daily commit for example.
Any other ideas?
Thanks !
Any other ideas?
Use https://github.com/git-tfs/git-tfs
Once the repository cloned with something like (it's better to choose a changeset common between Dev
and Prod
branches):
https://github.com/git-tfs/git-tfs/blob/master/doc/commands/clone.md#clone-from-a-specific-changeset
you just have to do a pull every times:
git tfs pull --rebase
Then you could compare your commits.
I ended up creating a small script that:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.