1. 在idea創(chuàng)建一個(gè)springboot項(xiàng)目
2.?創(chuàng)建github倉(cāng)庫(kù)
3.?在idea的terminal輸入:
? ? git init
? ? git remote add origin 【github項(xiàng)目的ssh地址】
? ? git remote -v
? ? git add .
? ? git commit -m "初始化項(xiàng)目"
? ? git pull origin master --allow-unrelated-histories
? ? git push origin master