随笔分类 -  git

摘要:1.创建当前的点得taggit tag -m "Say something" v1.02.创建某个commit的标签git tag -a v_2014 48969356e18cd1c664624be0286a335e29a29acb -m "the end of 2014"3.提交到服务器git... 阅读全文
posted @ 2015-03-04 17:34 笑月儿 阅读(176) 评论(0) 推荐(0)
摘要:服务器上pull代码时冲突1.git stashgit pullgit stash pop2.git reset --hard 强制同步到git库中最新的数据 阅读全文
posted @ 2014-11-01 16:17 笑月儿 阅读(133) 评论(0) 推荐(0)
摘要:1.本地 git reset --hard commit值 git push -f // 强制同步到git库(git服务器)2.项目所在线上服务器 git reset --hard commit值 阅读全文
posted @ 2014-10-25 01:34 笑月儿 阅读(321) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2014-08-18 16:01 笑月儿 阅读(5) 评论(0) 推荐(0)
摘要:1.在git服务器界面右上角“+” 、create new project ,写上项目名字生成一个新的组2.如果机器第一次与git 建立连接,需要让机器生成一个id_rsa和id_rsa.pub 文件,然后无空格的打开.pub这个文件,复制到git服务器界面的my project ->SSH Key... 阅读全文
posted @ 2014-06-25 13:51 笑月儿 阅读(375) 评论(0) 推荐(0)