简体   繁体   中英

Git: How to clone a forked repo based on another forked repo?

Every single time when I start working on a prototype I will fork it from a prototype framework. The framework has all the goodness necessary to start with a project.

After the first round of user testing, I will want the forked repo (version A) to stay at its current look (locked down). So in the future, I will be able to refer back to it.

Then to get the prototype ready for second round of user testing, I will clone the forked repo so I have a version B.

And sometimes there might be changes I will be doing on the original prototype framework that I want it to percolate through to version A and version B.

-

Is cloning the correct way to create a separate version? How do I remove dependencies from both version A and B? How do I keep the dependencies to the original prototype framework?

  • I am using bitbucket and sourcetree.

我已经和我的同事谈过,看来分支就是我所需要的。

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM