工作区(Working Area),暂存区(Stage),版本库(head->master or branch)
保存进度恢复工作进度
#把工作区和暂存区的内容保存到进度列表里
git stash save “description”
#列出stash里的所有项
git stash list
#把进度恢复出来并删除进度列表中的项
git stash pop
#只把进度恢复出...
分类:
其他好文 时间:
2014-07-22 23:04:35
阅读次数:
383
Git是版本控制工具,类似于SVN的作用。这里就忽略掉怎么安装之类的,只讲解Git最重要的思维模型。这三个概念一定要清楚:
1 工作区(Working Area)
2 暂存区(Stage)
3 版本库(repository, 本地仓库和远程仓库)
工作区很简单,就是你修改代码时会立即体现的地方。
暂存区是Git的特色之一,这个概念不好理解,这里举一个例子说明。如我们领到了...
分类:
其他好文 时间:
2014-07-22 23:01:54
阅读次数:
381
Summer Holiday
Time Limit: 10000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 1430 Accepted Submission(s): 645
Problem Description
To see a Wo...
分类:
移动开发 时间:
2014-05-09 01:07:08
阅读次数:
449
K-th NumberTime Limit:20000MSMemory
Limit:65536KTotal Submissions:35653Accepted:11382Case Time
Limit:2000MSDescriptionYou are working for Macrohard co...
分类:
其他好文 时间:
2014-05-08 05:24:50
阅读次数:
387
Network Working Group S. BradnerRequest for
Comments: 2119 Harvard UniversityBCP: 1...
分类:
其他好文 时间:
2014-05-07 21:26:24
阅读次数:
379
标题:working copy locked提示:your working copy
appears to be locked. run cleanup to amend the
situation.产生这种情况大多是因为上次svn命令执行失败且被锁定了。如果cleanup没有效果的话只好手动删除锁...
分类:
其他好文 时间:
2014-05-07 10:40:33
阅读次数:
378
I’ve worked with a lot of programmers over the
years — some of them super amazing, and some distinctly lackluster. As I’ve had
the pleasure of working...
分类:
其他好文 时间:
2014-05-07 00:33:56
阅读次数:
586
1 安装及下载client 端2 什么是SVN(Subversion)?3 为甚么要用SVN?4
怎么样在Windows下面建立SVN Repository?5 建立一个Working目录6 新增档案及目录到Repository中7 更新档案及目录8
更新至特定版本9 复制档案及目录10 制作Tag...
分类:
其他好文 时间:
2014-04-30 01:04:41
阅读次数:
544
Problem C: A Walk Through the ForestJimmy
experiences a lot of stress at work these days, especially since his accident
made working difficult. To rel...
分类:
其他好文 时间:
2014-04-29 17:21:46
阅读次数:
368
一、linux 命令 0.man:查询使用手册1.pwd:Print the full
filename of the current working directory. 打印当前工作目录(文件夹)2.ls:List information
about the FILEs (the current...
分类:
编程语言 时间:
2014-04-29 11:31:46
阅读次数:
489