Description Usage Arguments Examples
View source: R/term_git_config.R
Sets up Git
configurations
including
user name,
email,
editor,
files to ignore,
and
commit message.
1 2 3 4 5 6 7 8 9 10 11 | term_git_config(
name = "User Name",
email = "email@email.com",
editor = "vim",
ignore = c("*~", ".*.swp", ".DS_Store", ".~lock.*"),
msg = paste0("Subject line (try to keep under 50 characters)", "\n\n",
"Multi-line description of commit,", "\n", "feel free to be detailed.", "\n\n",
"[Ticket: X]"),
global = TRUE,
overwrite = FALSE
)
|
name |
Character string. |
email |
Character string. |
editor |
Character string. |
ignore |
Character vector. Patterns of file names and paths to ignore. |
msg |
Character string. |
global |
Logical.
If |
overwrite |
Logical.
Overwrite existing |
1 2 3 4 5 6 7 8 | ## Not run:
term_git_config(
name = "User Name",
email = "email@email.com",
global = TRUE
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.