Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hello, World!

Clear branch history

git checkout --orphan latest_branch
git add -A
git commit -am "Clear history"
git branch -D master
git branch -m master
git push -f origin master

stackoverflow.com

New branch with No Ancestors

git checkout master
git checkout --orphan foo

# Unstage all the files in your working tree.
git rm --cached $(git ls-files)

Do not delete .git folder

stackoverflow.com

About

Test repository

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages