开发者

Git workflow to fork a local repository?

开发者 https://www.devze.com 2023-01-19 02:30 出处:网络
What\'s the git equivalent of the following svn workflow: export foo import bar Is it the following? checkout master

What's the git equivalent of the following svn workflow:

  1. export foo

  2. import bar

Is it the following?

  1. checkout master

  2. 开发者_JAVA百科

    tag foo

  3. branch bar


It's simply creating a new repository with git init and then "git pull" the right branch from the other repository. You end up with a new repository containing only the one branch.

0

精彩评论

暂无评论...
验证码 换一张
取 消