Git:本地文件到远程仓库

 
start git shell 命令窗依次执行以下命令:执行过程根据提示修改命令
cd localDir 
git init
git remote add origin http...
git pull origin master
git add .  # 将当前目录下文件放到缓存区
git commit -m ''
git push

  

 

猜你喜欢

转载自www.cnblogs.com/andea/p/11556407.html