如何用Bitbucket在Xcode中重新启动项目 [英] How to restart project in Xcode with Bitbucket

查看:200
本文介绍了如何用Bitbucket在Xcode中重新启动项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前有一个Xcode项目,它在Bithucket存储库的管理器中有一个远程控制器。我想用新的模板开始项目。但是我不想失去所有我以前的提交,我只是想在Xcode中创建一个全新的项目,但对于Bitbucket而言,它应该就像另一个提交。我如何去做这件事?我想要说明我在Xcode中做什么以及我在Bitbucket中做了什么。提前致谢!

I currently have an Xcode project which has a remote in the organizer for a Bithucket repository. I want to start the project over with a fresh template. However I do not want to lose all my previous commits I just want a brand new project in Xcode but to Bitbucket it should just be like another commit. How do I go about in doing this? I would like instructions on what I do in Xcode and what I do in Bitbucket. Thanks in advance!

推荐答案

听起来您可能实际上想要一个托管在BitBucket上的新项目。你有无限的私人存储库;使用它们。

It sounds like you might actually want a new project hosted on BitBucket. You have unlimited private repositories; use them.

如果由于某种原因想要使用反模式,则可以为每个产品创建一个单独的分支。尽管为新项目创建另一个存储库会好得多。否则,目前还不清楚你在回购中追踪什么。

If for some reason you want to use an anti-pattern, you could just create a separate branch for each of your products. It is much better to just create another repository for new projects though. Otherwise, it is not clear what you are tracking in the repo.

这篇关于如何用Bitbucket在Xcode中重新启动项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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