推送到遠端儲存庫
讓我們推送到您在本教程的開頭時建立的本地儲存庫。
右鍵單擊「tutorial」目錄,然後單擊「Push」。
![Click Push](/static/31c650788cd483a377bd917d4d6a1065/5a190/01.png)
單擊「Manage」。
![Click the Manage button.](/static/b9f2e4792f978e6ef2b12af975ec95aa/5a190/02.png)
輸入以下內容:
- 遠端:「origin」
- URL:您之前在 Backlog 中建立的遠端儲存庫的 URL
單擊「Add New/Save」,「origin」現在將對應於遠端儲存庫 URL。
單擊「OK」來完成。
![Enter the remote repository URL and click the Add New/Save button](/static/5d4d2ae168a917c44e88e6a22e04afe8/5a190/03.png)
![the URL of the remote repository you previously created in Backlog](/static/e6d59a485e7d6bf8a6052e744caef525/5a190/04.png)
如果您在主控台上,如果您在推送/拉取時省略了遠端名稱,則在預設情況下將會使用「origin」遠端儲存庫。這是因為慣例通常使用「origin」作為遠端名稱。
在 Push 螢幕上選擇「origin」作為 Remote 項,然後單擊「OK」。
輸入您 Backlog 的電子郵件和密碼。然後點擊「continue」。
![Enter your Backlog email and password. Then click continue](/static/7ab1dcf438d608f27e70fcd1c6762e25/5a190/05.png)
成功完成推送後,您將看到下面螢幕。
![If you see success on the screen it means success.](/static/288f4ccd301237c3c4498712a619ec2e/5a190/06.png)
開啟 Backlog 上的 Git 頁面,您會發現在「Recent Updates」下面,列出了一個與您推送到遠端儲存庫相對應的最新更新。
![The push item is added to the recent updates.](/static/e3d59d8370684b8c5fde961e0fcf69ba/5a190/07.png)
推送的檔案也會出現在遠端儲存庫的檔案清單中。
![The file from the pushed repository is added.](/static/6313a45522f2a0f08240aa914026bf94/5a190/08.png)
接下來,我們將複製這個遠端儲存庫。