We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70062ce commit c81c4a9Copy full SHA for c81c4a9
R/edit.R
@@ -54,10 +54,7 @@ edit_git_config <- function(scope = c("user", "project")) {
54
#' @rdname edit
55
edit_git_ignore <- function(scope = c("user", "project")) {
56
scope <- match.arg(scope)
57
- switch(scope,
58
- user = edit_file("~", ".gitignore"),
59
- project = edit_file(proj_get(), ".git/ignore")
60
- )
+ edit_file(scope_dir(scope), ".gitignore")
61
invisible()
62
}
63
0 commit comments