由於公司的 git 庫 clone 了另一個 repository for 客製化
但是某些變動是兩邊都需要修改的
這時候我們在 A repo 的 commit 能不能送給 B repo 用呢?
我們都知道若是想要單獨的 commit
由於公司的 git 庫 clone 了另一個 repository for 客製化
但是某些變動是兩邊都需要修改的
這時候我們在 A repo 的 commit 能不能送給 B repo 用呢?
我們都知道若是想要單獨的 commit
SourceTree 是一款滿好用的 git GUI 介面軟體
不過最近在使用 GitFlow 的時候遇了一點狀況
會跳出下列錯誤訊息
Could not read password XXX Device not configured
今天因為更改了 文件名稱的大小寫
造成了無法 add file 的困境
原因是 Git 是大小寫不敏感的
所以造成以下錯誤,不論是 資料夾路徑、檔案名稱 都會遇到
Will not add file alias …… already exists in index
不知道大家用 git push remote branch 指令時有沒有遇過這個問題
error: src refspec feature/ZeWeiNote does not match any.
error: failed to push some refs to remote.
這兩個是一起出現的
今天做了一件傻事
沒錯,和標題一樣,我用git rebase 刪除還未 push 的 commit…
原本在 rebase 未完成時,可以用 git rebase -abort 來取消
但偏偏我又完成了 rebase 導致正常方法無法救回來
經過一番研究後找到了解法
用Git的時候每次都要輸入帳號密碼實在是很麻煩
後來找到了這個方法
可以將密碼存在http中