migration - Detached head branch after SVN-CLONE -


in company, have moved svn git. did not use third party tools this. ran git svn clone --stdlayout --no-metadata --authors-file=authors.txt temp_name. seemed suffucient wanted. pushed repos bitbucket. noticed after pushing is, in 1 of repos, branch missing in bitbucket. so, did checkout of branch, got message "you in detached head state. can around, make experimental changes , commit them, , can discard commits make in state without impacting branches performing checkout." googled resolving detached head problem none of posts talks detached head after git svn clone. main thing want achieve want detached branch pushed remote master after git svn clone. not know i'm missing

don't worry detached head message itself. long needed revisions in working copy, push want them be:

git push <your_bit_bucket_remote> <revision>:refs/heads/<branch_name_at_bitbucket> 

where <revision> can head, svn/branch_name or explicit sha1.


Comments

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

mercurial graft feature, can it copy? -