We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cd08a6 commit 81c6cd1Copy full SHA for 81c6cd1
git/git-commands.sh
@@ -146,8 +146,11 @@ git checkout -b <branch-name> <commit-hash>
146
147
######################################################################
148
149
+### remove a file history from the git repository
150
+
151
git ls-files
152
153
+export FILE_PATH="/path/to/file"
154
git filter-branch --force --index-filter \
155
'git rm --cached --ignore-unmatch ${FILE_PATH}' \
156
--prune-empty --tag-name-filter cat -- --all
go/go-commands.sh
@@ -4,6 +4,10 @@ go run main.go
4
5
6
7
+### test
8
9
+go clean -testcache
10
11
go test ./...
12
go test ./... -v -coverprofile=cover.out
13
0 commit comments