代码脱敏 永久删除git仓库中的文件与提交历史记录

私有项目脱离敏感数据通过git rm file肯定是不能够满足这一需求的,git历史记录中还是能够查看被删除的内容的,导致敏感数据的泄露.那么,就必须要彻底删除git的历史记录了.

从仓库总清除文件

git filter-branch --force --index-filter 'git rm --cached --ignore-unmatch path-of-remove-file' --......

快速拉取并合并代码,用shell脚本让你的工作流duang起来

作为一只代码🐒,每天上班的第一件事必须是打开IDE开发工具,然后拉取代码,合并代码;查收回复邮件。如果工程比较多,或者周一的时候,挨个在每个工程上点右键-->fetch-->merge代码,如此往复每个工程,这酸爽简直😂了~

我每天大概花费十几二十分钟的时间用在拉去代码合并代码上,忍无可忍,是时候简化工作流。让自己从拉代码中解脱出来了!

Talk is cheap, sho......

Git conflicted copy error while sync by Dropbox

Problem

I save my repo in dropbox, and one day (see date below) it went crazy. Now I get these warning every time I try to autocomplete a branch name

I am using Dropbox to sync a git repository, ......