walterlv / BlogComments

3 stars 0 forks source link

post/remove-files-or-folders-from-git-history #36

Open utterances-bot opened 4 years ago

utterances-bot commented 4 years ago

从 git 的历史记录中彻底删除文件或文件夹 - walterlv

从 git 的历史记录中彻底删除文件或文件夹

https://blog.walterlv.com/post/remove-files-or-folders-from-git-history.html

OpportunityLiu commented 4 years ago

太复杂了,我选择bfg……

walterlv commented 4 years ago

@OpportunityLiu 不错的工具!

walterlv commented 4 years ago

@OpportunityLiu 这货竟然要 Java 运行时!

PS C:\WINDOWS\system32> scoop install bfg
Installing 'bfg' (1.13.0) [64bit]
bfg-1.13.0.jar (12.8 MB) [============================================================================================================================] 100%
Checking hash of bfg-1.13.0.jar ... ok.
Linking ~\scoop\apps\bfg\current => ~\scoop\apps\bfg\1.13.0
Creating shim for 'bfg'.
'bfg' (1.13.0) was installed successfully!
'bfg' suggests installing 'java/oraclejdk' or 'java/openjdk'.
PS C:\WINDOWS\system32> bfg
& : The term 'java' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Users\lvyi\scoop\shims\bfg.ps1:3 char:81
+ ... ingInput) { $input | & java -jar $path  @args } else { & java -jar $p ...
+                                                              ~~~~
+ CategoryInfo          : ObjectNotFound: (java:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException

'bfg' suggests installing 'java/oraclejdk' or 'java/openjdk'.

OpportunityLiu commented 4 years ago

我装java就只为了这玩意,真的好用

walterlv commented 4 years ago

@OpportunityLiu scoop install java/openjdk 装了……表示跟你一样,估计也真的只为它