Skip to content

Commit 3b9526a

Browse files
committed
ENH Add git til and first git article
1 parent b6cbd12 commit 3b9526a

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ to manage.
1111

1212
* [Bash](#bash)
1313
* [Docker](#docker)
14+
* [Git](#git)
1415
* [Mac](#mac)
1516
* [Other](#other)
1617
* [Screen](#screen)
@@ -29,6 +30,10 @@ to manage.
2930

3031
- [Assign External Static IPs](docker/assign-external-static-ips.md)
3132

33+
### Git
34+
35+
- [Remove Files from Commit History](git/remove-files-from-commit-history.md)
36+
3237
### Mac
3338

3439
- [Remap Home and End Keys](mac/remap-home-and-end-keys.md)
+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Remove Files from Commit History
2+
3+
```
4+
git filter-branch --tree-filter 'rm -f path/to/file.remove' HEAD
5+
```
6+
7+
### Source
8+
9+
* [Stack Overflow](https://stackoverflow.com/questions/2100907/how-to-remove-delete-a-large-file-from-commit-history-in-git-repository/30274113#30274113)

0 commit comments

Comments
 (0)