automaton-build.tasks.impl.headers.vcs
clone-repo-branch
(clone-repo-branch target-dir repo-url verbose)
(clone-repo-branch target-dir repo-url branch verbose)
repo-url
in the directory target-dir
, if provided clones to specific branch
create-empty-branch
(create-empty-branch repo-dir repo-url branch base-branch verbose)
Download repo at repo-url
, and creates branch
based on latest commit of base-branch,
Which content is completly removed.
current-branch
(current-branch)
(current-branch app-dir)
Returns the string of the current branch.
latest-commit-sha
(latest-commit-sha)
Returns the string of the current branch.
new-branch-and-switch
(new-branch-and-switch repo-dir branch verbose)
In the repository in directory repo-dir
, creates a new branch.
push
(push branch-name repo-dir force? verbose)
remote-branch-exists?
(remote-branch-exists? remote-branches local-branch)
Is the local-branch
exists on the remote repository at `repo-url.
remote-branches
(remote-branches repo-url verbose)
Returns remote branches in repo-url
.