戈壁堂

Knowledge Is Action

Desktop-App

link on JianShu

how to clean cache in yarn yarn cache clean

安装下面的 操作在Window环境下执行OK了。没想到在Mac环境上反而出了问题。

git clone https://github.com/MixinNetwork/desktop-app.git
cd desktop-app
yarn install
yarn electron:serve

一开始是yarn install时无法下载,这个问题多试几次基本就OK了。 最终编译通过,启动时却报错——

git-proxy

link on JianShu

最后也没有解决掉- -||

一开始就是怎样做的,最后还是这样做起到了作用:只是 export https_proxy=http://127.0.0.1:7890 http_proxy=http://127.0.0.1:7890 all_proxy=socks5://127.0.0.1:7891

git config --global is stored in ~/.gitconfig 
local config settings is in ./.git/config. 
To remove a configuration, e.g. run git config --global --unset core.gitproxy.


  
  
  

git更新历史commit中的author信息

link on JianShu

https://help.github.com/en/github/using-git/changing-author-info

https://www.git-tower.com/learn/git/faq/change-author-name-email

https://blog.tinned-software.net/rewrite-author-of-entire-git-repository/

Rewriting the history is done with “git filter-branch” by walking through the complete history. For each commit, filters are applied after which the changes are re-committed. The different filters allow modifying different parts of the commit.

The following uses “git filter-branch” to filter the history. Instead of manipulating the files to be recommitted like explained in Remove files from git history, this command uses the “–env-filter” to alter the environment in which the re-committing statement takes place.