Git為什麼你不能
為什麼你不能git pull SHA...650839#file-diff.pach
?
我想下載這個差異的一部分:https ://gist.github.com/sergeykish/650839#file-dvorak-de-diff 。虛擬碼
git pull https://gist.github.com/sergeykish/650839#file-dvorak-de-diff.patch
git pull
用於更新現有儲存庫。如果要下載新儲存庫的內容,有git clone
命令:$ git clone https://gist.github.com/sergeykish/650839 Cloning into '650839'... remote: Counting objects: 15, done. remote: Total 15 (delta 0), reused 0 (delta 0), pack-reused 15 Unpacking objects: 100% (15/15), done. Checking connectivity... done. $ cd 650839/ 650839 (master)$ ls dvorak-de.diff winkeys-ua.diff 650839 (master)$ cat dvorak-de.diff
Raw
您可以通過點擊連結頁面上的按鈕來下載單個差異。或者從 shell 複製 url:wget https://gist.githubusercontent.com/sergeykish/650839/raw/ce43a3b70e769b6de8ecf996298455bc0f622125/dvorak-de.diff