incise.deployer.impl.git-branch

*out-dir*

dynamic

*repo*

dynamic

*work-dir*

dynamic

add-file

(add-file afile)

branch-exists?

(branch-exists? branch)

checkout-orphaned-branch

(checkout-orphaned-branch branch)

deploy

(deploy {:keys [path remote branch commit push], :or {path ".", remote "origin", branch "gh-pages", commit true, push true}})

Deploy to the given branch. Follow options for commit and push behaviour.

git-push

(git-push remote branch)

Shell out to git and push the current branch to the given remote and branch.

git-sub-dir-from-repo

(git-sub-dir-from-repo repo)

log-files

(log-files files)

ls-files

(ls-files)

move-to-work-dir

(move-to-work-dir from-file)

Move the given file to the working tree directory.

remove-out-dir

(remove-out-dir afile)

rm-path

(rm-path path)

setup-branch

(setup-branch branch)

Setup the given branch if it does not already exist and check it out.

stash

(stash source-commit-hash)

unstash

(unstash reference)

with-repo

macro

(with-repo path & body)

work-tree

(work-tree repo)