
26.1K
ALUseful tip:
If you’ve accidentally committed a massive file and then deleted it, it’s still bloating your .git folder’s history; you can use git filter-repo (successor to filter-branch) to surgically scrub that file from every single commit in your history.
Another "hidden" trick is using git commit --fixup <hash> combined with git rebase -i --autosquash, which allows you to mark a commit as a correction for a previous one and have Git automatically merge them during your next interactive rebase.
@algobrief










