解決使用git時提示“failed to sync branch”
當建立了一個空的git專案,本地複製進來一大堆檔案,想做任何git操作的時候,就會報
failed to sync this branch
You might need to open a shell and debug the state of this repo.
也許你會根據提示去執行
debug xxx
然而會發現沒什麼用
實際原因就是沒有初始化
在當前目錄執行一下
git init
就OK了
相關推薦
解決使用git時提示“failed to sync branch”
當建立了一個空的git專案,本地複製進來一大堆檔案,想做任何git操作的時候,就會報 failed to sync this branch You might need to open a shell and debug the state of this repo. 也許
Eclipse執行時提示failed to create the java virtual machine 如何解決
幾經周折終於找到了解決辦法,特與朋友們分享,方法如下: 找到eclipse目錄下的eclipse.ini,可以看到如下內容:-startupplugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar--launcher.l
ubuntu 啟動時提示 Failed to load session ubuntu
boot sta all sudo ebo apt ubunt ctrl load 啟動時候提示 Failed to load session ubuntu 通過 CTRL + ALT + [F1~F6] 進入終端界面登陸進系統, 進去之後執行 sudo apt-get
Maven Build時提示:Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test
一、問題描述 Maven執行 mvn clean install 提示: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on pro
啟動webstorm時提示 Failed to create JVM
jdk環境正常,調整webstorm64.exe.vmpptions檔案的-Xmx和-XX值 也無效, 偶遇大神的帖子,關於這點的特別清楚: http://www.poorren.com/idea-64bit-failed-to-create-jvm-when
eclipse不能debug的解決方法,提示Failed to execute MI command: maintenance set python print-stack off
提示: Error in final launch sequence Failed to execute MI command: maintenance set python print-stack off Error message from debugger back
Docker安裝完啟動時提示Failed to start docker.service: Unit docker.service is masked.
Ubutntu安裝完docker後,執行 sudo service docker start 提示 Failed to start docker.service: Unit docker
android studio在編輯時出現如Failed to sync Gradle project類似的問題時的解決方案
最近使用android studio發現環境壞了,提示如下: Failedto sync Gradle project’XXXXX’ Error:Unable to load class'asLocalRepo0_1r7i3nvnipez3xbls4oy6h797'. Po
解決雙系統下ubuntu安裝git時提示軟件包git沒有可安裝候選問題
install log blog sudo 升級系統 解決 安裝git 提示 class 選擇升級系統: sudo apt-get update 升級之後再輸入: sudo apt-get install git 可成功安裝。解決雙系統下ubuntu安裝git時提示
Linux——重啟防火牆時出現Failed to start firewalld.service: Unit is masked的解決辦法
報錯如下: 這是因為程序被鎖住了。 對它進行解鎖就可以了。 執行命令,即可實現取消服務的鎖定 # systemctl unmask firewalld 我們試一試 好了,現在防火牆已經重新啟動了。 注:下次需要鎖定該服務時可以輸入以下命令列執行
phpStorm開啟提示 failed to create JVM 的解決辦法
phpStorm 軟體開啟執行提示 failed to create JVM的解決辦法。 修改檔案 D:\Program Files (x86)\JetBrains\PhpStorm 7.1.3\bin\PhpStorm.exe.vmoptions 把記憶體值改成標準值,檔案全部內容如下:
AndroidStudio解決提示:Failed to load AppCompat ActionBar with unknown error
問題:新專案建立時,layout下的xml專案出現Render problem - Failed to load AppCompat ActionBar with unknown error. 解決方案: 1.找到專案目錄下的app\values\styles.xml
解決辦法:error: failed to push some refs to 'https://github.com/xxxx.git'
在github遠端建立倉庫後, 利用gitbash進行提交本地檔案的時候出現如下錯誤: [[email protected] demo]# git push -u origin master Username for 'https://github.c
解決本地執行RMMV的HTML5遊戲時出現Failed to load: data/actors.json 問題
在本地執行RMMV的HTML5遊戲時出現Failed to load: data/actors.json 問題,在這個網站有討論http://steamcommunity.com/app/363890/discussions/1/483368526577568252/原來屬
Ubuntu鎖屏登陸時出現failed to authenticate解決方案
在虛擬機器上執行Ubuntu16.04系統,由於在編譯cts,所以有較長時間沒用,再次登陸時發現無法在密碼框輸入密碼,並且顯示failed to authenticate。 解決方案:點選右上角的電源按鈕,切換使用者,切換到客戶機Guest Session,再切換回來重新嘗試輸入密碼即可。
Android下載sdk中出現如下錯誤時:Failed to rename directory...解決辦法
1、備份tools資料夾 2、將temp資料夾下的ToolPackage.new01改名為tools並替換原來的tools 3、重新啟動SDK Setup 好了,問題解決了,開啟sdk你就可以看到正在下載platform和api了。
cloudemanager安裝時出現failed to receive heartbeat from agent問題解決方法(圖文詳解)
不多說,直接上乾貨! 安裝cdh5到最後報如下錯誤: 安裝失敗,無法接受agent發出的檢測訊號。 確保主機名稱正確 確保埠7182可在cloudera manager server上訪問(檢查防火牆規則) 確保正在新增的主機的埠9000和9001空閒 檢查在新增的主機上/v
C++ builder 6 編譯時提示Unable to open file 'DCLUSR.LIB' 之解決辦法
以前曾出現過類似問題,解決過了! 前幾天應朋友要求幫忙改個東東,新裝CB又出現這個問題。找了半天才解決。特此記在這裡,以備忘記。 找到下圖檔案(C:\Program Files\Borland\CBuilder6\Lib\dclusr.bpk) 雙擊之 點選Instal
解決android Studio 安裝完執行提示failed to find build tools revision 24.0.2
這幾天安裝了下android studio 想寫點安卓程式,按著網上的安裝教程安裝完成後,執行專案時提示failed to find build tools revision 24 這個問題在網上找了下‘下面是 自己的解決辦法,如果專案的指定的版本不是android s
Linux解決問題篇——ftp上傳檔案(使用put)時,permission denied,下載檔案(使用get)時,failed to open file
使用ftp連線本地伺服器時,在上傳put時出現問題,幾番折騰,最終解決。 我的操作流程:1、要上傳的檔案存在/tmp中,名稱為testfile,這個檔案我是使用dd建立的:dd if=/dev/zero of=/tmp/testfile bs=1M count=200,這