Technology Experiments
My experiments with different technologies.
Thursday, December 17, 2015
To create an empty branch from master - local and remote
git checkout --orphan EmptyBranch
git rm -rf .
git commit --allow-empty -m "initial commit"
git push -u origin EmptyBranch
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment