1. 程式人生 > >ubuntu使用git

ubuntu使用git

下載git:

sudo apt-get install git

我是從其他倉庫直接clone的專案:

git clone 地址

之後會提示輸入密碼:

[email protected]'s password: 

輸入之後會自動下載專案到本地

我寫好自己的專案之後進行提交:

git add 專案名字

之後commit新增資訊

git commit -u "add new file"

最後進行提交:

git push origin master

完成提交