OpenAperture.Builder.Git

This module contains functions used for interacting with a git repository, specifically in the context of one cloned from GitHub.

Summary↑

add(repo, path)

Stages a file to the local git repository

add_all(repo, path)

Executes a git add -A for a directory

checkout(repo)

Executes a git checkout against a specific branch, tag, or hash

clone(repo)

Clones a remote git repository to a local path

commit(repo, message)

Executes a git commit for the local repository

get_current_commit_hash(repo)

Retrieves the current git commit hash

push(repo)

Executes a git push for a local repository. Uses the default remote

Functions

add(repo, path)

Specs:

Stages a file to the local git repository.

add_all(repo, path)

Specs:

Executes a git add -A for a directory.

checkout(repo)

Specs:

Executes a git checkout against a specific branch, tag, or hash.

clone(repo)

Specs:

Clones a remote git repository to a local path.

commit(repo, message)

Specs:

Executes a git commit for the local repository.

get_current_commit_hash(repo)

Specs:

Retrieves the current git commit hash

push(repo)

Specs:

Executes a git push for a local repository. Uses the default remote.