-
File->Settings->Version Control->Git->點(diǎn)擊TEST測試是否安裝Git悠反,如果沒有點(diǎn)擊安裝
-
Github中添加賬戶
-
項(xiàng)目中有不想上傳的文件蜒犯,安裝.ignore插件驻民,項(xiàng)目右鍵->New->.ignore File->.gitignore File(Git)->添加不想上傳的文件夾
VCS->Import into Version Control->Create Git Repository...
項(xiàng)目右鍵選擇Git,選擇+Add
項(xiàng)目右鍵選擇Git炫欺,選擇Commit Directory...,提交注釋為“update”
-
項(xiàng)目上右鍵選擇Git,選擇Repository慕淡,選擇Push,點(diǎn)擊master沸毁,URL為GitHub項(xiàng)目地址峰髓,點(diǎn)擊PUSH即可
-
上傳成功