Git
Git commands and hook management
Common Functions
These are the most commonly used functions in this category:
git_add()
Add file contents to the staging area.
git_commit()
Record changes to the repository with a commit message.
git_status()
Display the working tree status from the R console.
Other Functions
| Function | Description |
|---|---|
| git_diff() | Show changes between commits, working tree, etc. |
| git_hooks_disable() | Disables a specific hook in settings and reinstalls the pre-commit hook. |
| git_hooks_enable() | Enables a specific hook in settings and reinstalls the pre-commit hook. |
| git_hooks_install() | Creates a pre-commit hook that runs Framework checks based on settings.yml settings. |
| git_hooks_list() | Shows which hooks are enabled and their current status. |
| git_hooks_uninstall() | Removes the Framework-managed pre-commit hook. |
| git_log() | Show recent commit history. |
| git_pull() | Fetch and integrate changes from the remote repository. |
| git_push() | Push commits to the remote repository. |
| git_security_audit() | Performs a comprehensive security audit of data files in Framework projects, checking for unignored |
All Functions
| Function | Description |
|---|---|
| git_add() | Add file contents to the staging area. |
| git_commit() | Record changes to the repository with a commit message. |
| git_diff() | Show changes between commits, working tree, etc. |
| git_hooks_disable() | Disables a specific hook in settings and reinstalls the pre-commit hook. |
| git_hooks_enable() | Enables a specific hook in settings and reinstalls the pre-commit hook. |
| git_hooks_install() | Creates a pre-commit hook that runs Framework checks based on settings.yml settings. |
| git_hooks_list() | Shows which hooks are enabled and their current status. |
| git_hooks_uninstall() | Removes the Framework-managed pre-commit hook. |
| git_log() | Show recent commit history. |
| git_pull() | Fetch and integrate changes from the remote repository. |
| git_push() | Push commits to the remote repository. |
| git_security_audit() | Performs a comprehensive security audit of data files in Framework projects, checking for unignored |
| git_status() | Display the working tree status from the R console. |