一起使用 GIT 和 TFS [英] Using GIT and TFS together

查看:60
本文介绍了一起使用 GIT 和 TFS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对这里提供的开源项目很感兴趣:https://svn.code.sf.net/p/dolserver/code/这是一个 mmorpg 服务器模拟器的存储库,我正在为自己制作一个自定义服务器.

I'm having fun with an open source project available here: https://svn.code.sf.net/p/dolserver/code/ That's the repository for an mmorpg server emulator and I'm making a custom server for my own.

问题是我需要更新存储库才能获取/推送更新,但是有一个特定的文件夹 (GameServerScripts) 只包含专门为我自己的服务器制作的脚本,不能被覆盖并且必须保存在

The problem is that I need to update the repository in order to get/push updates, BUT there is a particular folder (GameServerScripts) which contains only scripts specifically made for my own server that must not be overwritten and must be saved in Tfs.

目前,我有一个 Tfs 解决方案,其中包含我自己的存储库和桌面上的一个文件夹,我使用 Tortoise 和官方存储库不断更新该文件夹.这意味着每次我需要检查官方存储库时,在乌龟历史记录中查找更改并将这些文件复制并替换到我自己的存储库中并推送它们.

At the moment, I have a Tfs solution with my own repository and a folder on the desktop that I keep updated using Tortoise with the official repository. That means that every time I need to check the official repository, look for changes in the tortoise history and copy and replace those files into my own repository and push them.

我正在寻找一种更好的方法来处理这些变化.有什么想法吗?

I'm looking for a better way to handle those changes. Any ideas?

推荐答案

我了解您的主要存储库是 Git 管理的,并且您希望保持 TFS 版本控制同步.最好的方法是使用 git-tf.

I understand that you main repo is Git managed and you want to keep a TFS Version Control in sync. Best way is to use git-tf.

这篇关于一起使用 GIT 和 TFS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆