步骤一: 假设有未提交的文件先提交到Git。 步骤二: 在Git根文件夹下运行以下的Git命令: git rm -r --cached . git add . git commit -m "fixed untracked files” tips: 能够在https://www.gitignore.i ...
分类:
其他好文 时间:
2016-03-28 13:21:03
阅读次数:
136
Linux硬件资源管理(1)查看系统PCI设备命令为:lspci此外,lspci-v查看更详细的PCI设备信息。(2)查看CPU信息可以使用more/proc/cpuinfo(查看CPU详细情况),其中cached文件缓存(整个文件内容)、buffers是文件属性的缓存(文件修改、访问时间、大小等信息)。(3)查看内..
分类:
系统相关 时间:
2016-03-26 09:01:26
阅读次数:
286
So now we want to replace one user when we click the 'x' button. To do that, we want: 1. Get the cached network data for generating the userList. 2. T
分类:
Web程序 时间:
2016-03-10 07:02:51
阅读次数:
248
& git rm --cached 项目名称.xcodeproj/project.xcworkspace/xcuserdata/电脑用户名.xcuserdatad/UserInterfaceState.xcuserstate & git commit -m "Removed file that sh
分类:
移动开发 时间:
2016-03-03 17:38:12
阅读次数:
135
使用版本控制来托管代码时会遇到这样的问题 添加过.gitignore文件后每次push时还是会有UserInterfaceState.xcuserstate文件 这时可以在终端中输入 git rm --cached ProjectFolder.xcodeproj/project.xcworkspac
分类:
其他好文 时间:
2016-02-14 19:43:26
阅读次数:
240
1. git init2. git status3. git add octocat.txt git rm --cached file_name4. git commit -m "Add cute octocat story"5. git add '*.txt'6. git log7. git re
分类:
其他好文 时间:
2016-01-30 22:47:54
阅读次数:
306
Github只允许上传最大100MB的文件,如果超过,则会被server reject则需:git filter-branch --force --index-filter "git rm --cached --ignore-unmatch Project1/Project1.1\ Sample\ ...
分类:
Web程序 时间:
2016-01-27 09:23:41
阅读次数:
161
一、命令[root@localhost ~]# free -m total used free shared buffers cachedMem: 7869 7651 218 ...
分类:
系统相关 时间:
2016-01-26 23:21:41
阅读次数:
361
方法/步骤将.idea目录加入ignore清单:$ echo '.idea' >> .gitignore从git中删除idea:$ git rm—cached -r .idea将.gitignore文件加入git:$ git add .gitignoreCommit gitignore文件,将.id...
分类:
其他好文 时间:
2016-01-25 19:07:50
阅读次数:
120
voidngx_time_init(void){ ngx_cached_err_log_time.len = sizeof("1970/09/28 12:00:00") - 1; ngx_cached_http_time.len = sizeof("Mon, 28 Sep 1970 06...
分类:
其他好文 时间:
2016-01-24 22:27:26
阅读次数:
223