我發現以下問題推我的GIT(到位桶)庫。 如果我做混帳推我得到了以下錯誤消息: $ git push
fatal: You are not currently on a branch.
To push the history leading to the current (detached HEAD)
state now, use
git push origin HEAD:<na
我已將git設置爲我的項目,以將修改推送到gitlab repository。 我從github其位於/vendor/dereuromar/cakephp-queue 還有一個.git目錄,當我把我的項目gitlab在插件目錄 與git相關的其他文件安裝插件,一切都推除本目錄。 當試圖git status它給誤差 On branch master
Your branch is up-to-dat
文件我推我有叉回購和拉: git pull origin master
我添加一些文件,並做了一些改變,我想我的變化推到我的叉: git add -A
git commit -m "some changes"
git push
但我得到這個錯誤: fatal: The current branch master has no upstream branch.
To push the