github

gitbub 提交文件 

流程   首先找到自己的文件位置

 遇到问题是:error: 无法推送一些引用到 'https://github.com/fangminglu/posjquery.git'

提示:更新被拒绝,因为远程版本库包含您本地尚不存在的提交。这通常是因为另外

提示:一个版本库已向该引用进行了推送。再次推送前,您可能需要先整合远程变更

提示:(如 'git pull ...')。

 git config branch.master.remote origin

 git config branch.master.merge refs/heads/master 

 git pull

 

github 提交文件流程

首先在你的git上新建一个工程

然后在命令器中

cd 选择要提交文件

Shell代码   收藏代码
  1. git init 

    git add .

  2. git commit -m '解释文档'
  3. git remote add origin https://github.com/你的git名/工程名.git
  4. git push -u origin master
  5. git 名字
  6. 密码

 

 

你可能感兴趣的:(github)