Skip to content

kfdm-archive/git-mount

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

git-mount

Mount a repo/branch

Example use case

For a Python project on GitHub where we want the generated documentation to be saved under GitHub Pages

# Mount the GitHub pages branch to build/html
# so that our documentation genrated by sphinx
# goes in the right place
git mount --pages build/html
# Generate our Sphinx docs
make html
# Future ideas ?
# Make it easy to commit and push documentation
# on the mounted branch
git mount --commit 'Updated documentation'
git mount --push

Options

Usage: git-mount [options] local/path
    -f, --force                      Force mount
    -v, --verbose
    -p, --pages                      Mount GitHub pages
    -w, --wiki                       Mount GitHub wiki
    -b, --branch [BRANCH]            Branch name
    -r, --repo [REPO]                External Repo
    -n, --dryrun                     Dry Run
    -h, --help                       Show this message

Releases

No releases published

Packages

No packages published

Languages