*
git_*()
are now gitr_*()
get_*()
are now unified towards gitr_*()
*.R
files with "gitr_*.R
"'test-*.R
' suite of filesgit_version()
unit test for CRAN checksgit
regex needed to be more robust and is now fixedgit_checkout()
(#2)git_current_sha()
self explanatory, gets current commit sha
git_local_br()
gets all the local branches
is_sha()
gitr
unit testing fixtureslocal_create_worktree()
test-*.R
filedoes the following:
gitr_echo_cmd = FALSE
New unit tests for:
get_commit_msgs()
get_recent_tag()
git_checkout()
git_tag_info()
git_recent_tag()
git_checkout()
git_current_br()
git_defaults_br()
git_current_sha()
git_version()
Updated git()
unit tests
testthat::snapshot
frameworkgclean()
gclean()
is now dry_run
(not dry.run
).
dot notation;
now underscore to better fit with package conventiongit_recent_tag()
more robust (@malcook; #16)git_recent_tag()
no longer echos command by default
Fixed a bug in git_diffcommits()
indexing is now correct (x - 1
)
Fix bug in get_pr_sha()
(@stu.g.field; #10, #11)
stdout
properly in the if-else
so that the function returns NULL
rather than ""
if there is no SHA to findNULL
can then
be tested for in downstream codegitr_echo_cmd
global option feature (#14)echo_cmd
parameter is now additionally
controlled by a global option, gitr_echo_cmd
TRUE
echo_cmd =
parameter inside git()
calladded color (blue) to the echoed
command when echo_cmd = TRUE
No longer print full diff-commit to the console
more streamlined now and user friendly
Fixed pipe |
escapes in README
some ZSH aliases had '|' in the definition, messing up the table tabs in markdown syntax
Upgrades to the pkgdown 'Git Started' in the navbar
gitr
vignette introductionmore vignettes/articles to come
Minor tweak to trim_sha()
(#9)
char(7)
if a shais_sha()
must be TRUE
for any trimmingcharacter(1)
-> character(n)
Now released (#7) on CRAN! :partying_face:
The package repository was restructured
pkgdown
website was addedpreparations were made for package release on CRAN
Samples and templates
inst/
_gitignore_global
_gitconfig
commit-msg-template
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.