#Mac下使用Github管理本身的開源項目git
##準備工做github
##新建本身的項目web
###在web操做this
- 登陸 GitHub
- New repository
- 填寫資料,Repository 名稱,描述可選,public/private,記得初始化README(在後邊也能夠本身添加這個文件)
- 點擊 Create repository 建立
###在客戶端操做get
- 打開 GitHub 客戶端,並登錄本身帳號,continue就能夠了
- 點擊 左上角 加號
- 選擇 Create,填寫 填寫資料,Repository 名稱
- Create Repository
##選擇本身的項目同步
- 打開 GitHub 客戶端,並登錄本身帳號,continue就能夠了
- 點擊 左上角 加號
- 選擇 Clone,分類
- 選擇已有項目,並點擊右下角 CLone,就能夠將已有的項目克隆到本地
##提交本身的項目it
- 左側 GitHub 列表,選擇要提交的項目
- Open in Finder ,若是是新建項目,將本身的項目拷貝到該目錄下
- 更新文件後,選擇 Uncommitted Changes ,查看有變更未提交的文件
- 填寫commit信息,點擊 Commit to master 提交
- 點擊右上角 Sync 同步到遠程
- 在web中查看提交狀況
##刪除本身的項目io
- 在web進入本身的項目中
- 選擇 Setting - Options
- 最下面有個 Danger Zone 表格 ,選擇 Delete this repository
- 在彈出的對話框中輸入要刪除的repository名稱,
- 點擊 I understand the consequences, delete this repository