What's the git equivalent of the following svn workflow:
export foo
import bar
Is it the following?
checkout master
tag foo
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.
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.