[英]Git tagging with stash and sourcetree
I am trying to migrate from SVN to get what I understood is that我正在尝试从 SVN 迁移以获得我所理解的
git push origin master
! [rejected] master -> master (fetch first)
I don't want to mess the revision I have already and I only want push it and then tag it, I don't know what will happen if I pull i assume it will be messed up.我不想弄乱我已经有的修订版,我只想推送它然后标记它,我不知道如果我拉动会发生什么,我认为它会搞砸。 How may I do this?
我该怎么做?
Don't try pushing version after version.不要尝试一个接一个地推送版本。
Use a script like svn2git , or an even more robust tool like subgit : those will convert your SVN repo in a git repo, respecting your branches and tags.使用像svn2git脚本,或者像一个更强大的工具subgit :那些将转换您的SVN回购的git仓库,尊重您的分支和标签。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.