码迷,mamicode.com
首页 >  
搜索关键字:git-push    ( 1297个结果
ios git 的一些指令
1:git push origin master 2:git push -u origin master 3:git clone git@git地址:项目名字 4:git pull 5:git status 6:git add XXX 7:  git commit -a -m "vvvv"...
分类:移动开发   时间:2015-04-13 14:37:39    阅读次数:134
Git库搭建好之后,当要提交一个新的文件,需要做的是3个步骤
Git库搭建好之后,当要提交一个新的文件,需要做的是3个步骤 1.git add new.txt 2.git commit -m "add a new file" 3.git push origin master从Git仓库克隆一个本地库: git clone git@github.com:...
分类:其他好文   时间:2015-04-12 13:16:23    阅读次数:94
Fix git 提交代码错误
今天用git clone下代码,修改,push提交,发现以下错误[root@localhost gocache]# git push origin mastererror: The requested URL returned error: 403 Forbidden while accessing...
分类:其他好文   时间:2015-04-10 23:51:20    阅读次数:188
git push error:error: insufficient permission for adding an object to repository database ./obje
http://stackoverflow.com/questions/1918524/error-pushing-to-github-insufficient-permission-for-adding-an-object-to-reposi 原因: 用ssh 管理时,客户端机器对服务器git代码仓库的写权限出了问题。如参考文 //登录到git 服务器 ssh me@myserver  ...
分类:数据库   时间:2015-04-10 13:41:42    阅读次数:201
Git - fatal error : Agent admitted failure to sign using the key
提交时出现如下问题:1 git push -u origin master2 3 Agent admitted failure to sign using the key.4 Permission denied (publickey).5 fatal: The remote end hung up ...
分类:其他好文   时间:2015-04-02 18:46:10    阅读次数:172
git使用总结
当我们使用Git push推送到github上时 报错 "error: failed to push some refs to " 解决方法: 使用git pull  然后再git push 玩了一晚上的git现在来总结一下: 用户设置 $ git config --global user.name "Your Name" $ git config --global user....
分类:其他好文   时间:2015-03-22 09:08:56    阅读次数:201
初用 Git 小问题解决备忘录
今天使用git 第一次使用,在使用git push时报错 No refs in common and none specified; doing nothing. Perhaps you should specify a branch such as ‘master‘. fatal: The remote end hung up unexpectedly er...
分类:其他好文   时间:2015-03-20 19:02:34    阅读次数:163
git版本回滚
先说今天遇到的问题,看到一个config.php的配置文件一直在修改的状态下,但是和远程的config.php是不一致的,我不需要提交它,但是看它在 modified的状态下,很不爽,想删除它,git   rm  config.php,然后git push了下,结果不仅把本地的config.php干掉了,把远程的config.php也给干掉了,,原来这个git rm有这样的功效,而且我 删除的...
分类:其他好文   时间:2015-03-20 13:01:02    阅读次数:130
Git命令
上传本地代码库到GitHub: git push在git 全局设置中配置个人信息:配置用户名: git config --global user.name = "Your name” 配置邮箱: git config --global user.email = "email@example.c...
分类:其他好文   时间:2015-03-19 23:28:46    阅读次数:125
一个快速做git提交的脚本
用于快速将项目中的所有改变push到代码仓库,可以替代以下操作:git add . git commit -m "" git push项目地址:https://github.com/kouliang/gpush...
分类:其他好文   时间:2015-03-16 16:27:26    阅读次数:113
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!