detached HEAD解決辦法


git status提示detached HEAD解決辦法

原創旺仔大牛 最后發布於2019-03-25 22:42:23 閱讀數 353 收藏
展開
有時候,需要查看某個Tag中的代碼,就會使用git checkout tag-name,切換到tag中。

此時,如果使用git status來查看當前的狀態時,會報detached HEAD的提示。

detached HEAD表示當前的HEAD指向了一個具體的commit id,並沒有處於任何分支。

解決辦法

將HEAD切回任意分支即可

$ git checkout master
————————————————
版權聲明:本文為CSDN博主「旺仔大牛」的原創文章,遵循 CC 4.0 BY-SA 版權協議,轉載請附上原文出處鏈接及本聲明。
原文鏈接:https://blog.csdn.net/adojayfan/article/details/88808354

flutter工程

target 'Runner' do # Flutter Pod use_frameworks! use_modular_headers! ------

Flutter clean

Delete Podfile.lock

pod install --repo-update

pod update FBSDKLoginKit

open .xcworkspace and in General-> Deployment Info set Target 11.0 also in Podfile set Target 11.0

 

 

 

 

Firstly, do a pod clean, e.g.

Run: flutter clean Go to ios folder, delete Podfile, Podfile.lock, Pods folder, Runner.xcworkspace Run project again

After building I got errors regarding:

fatal error: module 'FBSDKCoreKit' not found @import FBSDKCoreKit;
platform :ios, '12.0' use_modular_headers!

或者fbskcorekit降級

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM