Mercurial Equivalent Flow of Git Orphan

Sayth Renshaw flebber.crue at gmail.com
Sun Jul 17 05:14:14 UTC 2016


Hi

I am wanting to use pelican with bitbucket and aerobatic. In a blog post
they describe the process of creating the output as an Orphan
https://www.aerobatic.com/blog/hugo-continuous-integration-with-wercker-aerobatic-and-bitbucket

I want to be able to do tis so that my generated output goes into the
orphaned branch and then aerobatic will handle serving it.

This is how the git flow is described.

# Create a new orphan branch (no commit history) named publicgit
checkout --orphan public
# Unstage all filesgit rm --cached $(git ls-files)
# Grab one file from the master branch so we can make a commitgit
checkout master README.md
# Add and commit that filegit add README.mdgit commit -m "INIT:
initial commit on public branch"
# Push to remote public branchgit push origin public

Thank You

Sayth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial/attachments/20160717/437bf8e4/attachment.html>


More information about the Mercurial mailing list