git init
git add .
git commit -am 'init'
git remote add origin https://github.com/xxx/xxx.git
git pull origin master --allow-unrelated-histories
git初始化项目并推送到GitHub
最新推荐文章于 2025-07-21 12:33:29 发布

git init
git add .
git commit -am 'init'
git remote add origin https://github.com/xxx/xxx.git
git pull origin master --allow-unrelated-histories