Git Reset as Fresh Repository
git checkout --orphan latest_branch |
One line: git checkout --orphan latest_branch && git add -A && git commit -m reset && git branch -D master && git branch -m master && git push -f origin master
All articles on this blog are licensed under CC BY-NC-SA 4.0 unless otherwise stated.
Comments