ghc_repos_git_commit: Git Commit

ghc_repos_git_commitR Documentation

Git Commit

Description

Commits changes for all modified files in the active branch for all repositories that match the prefix. Use ghc_repos_git_add and ghc_repos_git_remove prior to ghc_repos_git_commit to include new files (not tracked by git yet) / remove tracked files in the commit. Use ghc_repos_git_push to push the committed changes back to the GitHub server.

Usage

ghc_repos_git_commit(prefix, message, folder = ".")

Arguments

prefix

repository prefix (typically this would be a github classroom assignment prefix)

folder

the target directory where to look for matching git repositories (searches recursively in all subdirectories)

Value

returns the prefix invisibly to facilitate piping

See Also

Other command functions: ghc_repos_copy_to(), ghc_repos_git_add(), ghc_repos_git_clone(), ghc_repos_git_create_branch(), ghc_repos_git_delete_branch(), ghc_repos_git_discard_changes(), ghc_repos_git_pull(), ghc_repos_git_push(), ghc_repos_git_remove(), ghc_repos_git_status(), ghc_repos_git_switch_branch(), ghc_repos_run_git_command()


KopfLab/ghctools documentation built on Feb. 20, 2023, 9:25 a.m.