git initgit statusgit add readme.txtgit add --all Adds all new or modified filesgit commit -m"message"git add '*.txt' Add all txt file in the who...
分类:
其他好文 时间:
2015-04-23 15:19:36
阅读次数:
122
1.Git 配置使用Git的第一件事就是设置你的名字和email,这些就是你在提交commit时的签名。git config --global user.name "you name"git config --global user.email "youemail@email.com"2.Clon....
分类:
其他好文 时间:
2015-04-23 01:57:19
阅读次数:
139
git里面实现撤销commit这个据我目前所知,有至少4个途径可以做到1、git reset2、git revert3、git rm –cached4、git checkout这个可以参考这个https://www.atlassian.com/git/tutorials/resetting-chec...
分类:
其他好文 时间:
2015-04-22 20:33:04
阅读次数:
189
*初始化git仓库,使用git init命令*添加文件到git仓库分两步:1、使用git add filename ;可分多次使用,添加多个文件到暂存区2、使用git commit -m “说明” ;完成提交到分支*查看工作区状态,使用git status 命令;如果提示有修改可使用git diff...
分类:
系统相关 时间:
2015-04-21 21:59:24
阅读次数:
238
fromhttp://blog.csdn.net/jake9602/article/details/18414841在android 中存储数据时经常用SharedPreference, 并且在提交数据时一直用的是Editor的commit方法, 今天无意了看到了系统用了apply,看了方法的介绍,...
分类:
移动开发 时间:
2015-04-21 20:21:17
阅读次数:
175
Unity出错:Invalid editor window UIPrefabToolUnityEditor.EditorApplicationLayout:FinalizePlaymodeLayout()Solution :Layout - Revert Factory Settings ...
分类:
移动开发 时间:
2015-04-21 17:23:42
阅读次数:
658
commit: d577db99873cbf04b8e17b78f17ec8f3a27eca30 Date: Fri Apr 10 23:45:36 2015 -0700 ##0.命令行和依赖的基础知识 ### Synopsis ``` Perform a rolling update of the given ReplicationController. Replac...
分类:
Web程序 时间:
2015-04-20 17:10:48
阅读次数:
273
版本控制对于团队合作显得尤为重要,那么如何在iOS开发中进行版本控制呢?在今天的博客中将会介绍如何在MAC下配置SVN服务器,如何导入我们的工程,如何在Xcode中进行工程的checkOut和Commit. 一、配置SVN服务器 1、创建Svn服务工作路径同时新建我们的App工程,入下图所示...
分类:
移动开发 时间:
2015-04-20 10:52:26
阅读次数:
148
一、安装git:sudo apt-get install git二、把一个工程初始化为仓库:git init三、把文件添加到暂存区:git add [filename]四、把暂存区的内容提交到当前分支:git commit -m "[change message]"五、查看状态:git status...
分类:
其他好文 时间:
2015-04-19 21:02:46
阅读次数:
156
首先需要说的就是commit id,它和svn不同,git的commit id不是1,2,3...这种递增的数字,而是一个SHA1计算出来的一个非常大的数字,它用十六进制来表示,因为git是分布式的版本控制系统,所以就只能用这种方式了。
在git中,我们用HEAD表示当前版本,上一个版本就是HEAD^,上上个版本就是HEAD^^,如果我们前100个版本就是HEAD后面跟100个^...
分类:
其他好文 时间:
2015-04-19 19:32:39
阅读次数:
132