$git init
$git add filepath
$git commit -m "本次提交的说明"
$git remote add origin +github远程仓库的地址
$git pull origin master//把本地仓库的变化连接到远程仓库主支
$git pull origin master --allow-unrelated-histories//如果报:refusing to merge to merge unrelated histories时使用
$git push -u origin master//推送变更到github上面
anyeguiyuzhe / python-git Goto Github PK
View Code? Open in Web Editor NEW这是使用git时上传的文件