1. git init # 初始化本地仓库 2. git remote add origin git@github.com:policeme/DGCNN.git # 关联远程仓库 3. git pull origin master --allow-unrelated-histories #把远程仓库和本地同步,消除差异 4. git add 5. git commit 6. git push origin master