摘要:On GitHub, saved changes are called commits. Understanding the GitHub Flow When you're working on a project, you're going to have a bunch of different
阅读全文
摘要:linux下如何将当前目录的文件名存到一个文本文件里 Linux命令行参数数目是有限的,执行ls *.gz时,当通配符展开后,ls命令的参数列表超长了,导致运行出错。 如果只是想得到当前目录下(不包括子目录)的相关文件时,可以这样: 1 ls -1 | grep ".gz$" > 1.txt ls
阅读全文
摘要:GIT: /.git/index.lock': File exists fatal: Unable to create '/.git/index.lock': File exists 解决方法: Try In your repository directory. Unlink of file fai
阅读全文
摘要:同步master的代码到fork分支代码,分三步(remote项目fetch到本地仓库、基于本地master重新创建一个branch、新的branch上commit&push): 1. 项目 fetch 到本地仓库,通过命令行的方式 merge a. git remote add upstream
阅读全文