Skip to content

Latest commit

 

History

History
executable file
·
11 lines (10 loc) · 400 Bytes

git.md

File metadata and controls

executable file
·
11 lines (10 loc) · 400 Bytes

#git Clean History

git checkout --orphan tb 
git add -A                        # Add all files and commit them
git commit
git branch -D master              # Deletes the master branch
git branch -m master              # Rename the current branch to master
git push -f origin master         # Force push master branch to github
git gc --aggressive --prune=all   # remove the old files