[問題] git server on nas(asustor)

看板Linux作者 (valda)時間10年前 (2014/07/29 17:47), 編輯推噓3(300)
留言3則, 3人參與, 最新討論串1/2 (看更多)
請教各位高手 直接在NAS上安裝GIT SERVER套件 本機端git push的時候 出現git remote does not appear to be a git repository remote端跟local端都有執行過git init了 請問還有啥沒注意到的嗎? 感謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 60.248.186.235 ※ 文章網址: http://www.ptt.cc/bbs/Linux/M.1406627240.A.107.html

07/29 17:58, , 1F
你有在local去add remote git repository嗎?
07/29 17:58, 1F

07/29 19:52, , 2F
在server端我記得init要加--bare選項?
07/29 19:52, 2F

07/30 15:54, , 3F
樓上正解
07/30 15:54, 3F
文章代碼(AID): #1Jrsse47 (Linux)
文章代碼(AID): #1Jrsse47 (Linux)