wiki:shunfa/2012/1227

使用github遇到ssh上傳的權限問題,暫時紀錄不知道為何成功的指令..

  • 產生ssh pub key
  • 到網站上新增ssh key
  • git remote set-url origin ssh://git@github.com/shunfa/crawlzilla.git (修改上傳協定)
  • git commit, git push
  • 透過其他電腦ssh進入編輯git檔後,無法直接push
    Permission denied (publickey).
    fatal: The remote end hung up unexpectedly
    
  • git status: 查詢目前查詢目前Repository的修改狀態
  • 實用的Git教學
  • 同步更新(svn update)
    git pull
    若要忽略修改請先下"git stash"清除
    若不要忽略修改請先commit
    
Last modified 11 years ago Last modified on Jan 16, 2013, 2:27:52 PM