show/include current state of your git repo

Open
#216 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
git, r
Domain
tooling

Research direction

No target file or test is named; start by inspecting the repository for command or reporting entry points and run the shown git2r::branch_get_upstream(git2r::repository_head()) expression. Done means the current branch, commit, and remote are exposed in a command or report as illustrated.

Written by the indexing model from the issue text.

Description

git r-stats

this is a nice command for printing the current state of your git repo, which could be used to check that you're on the same branch and at the same commit as someone else, and/or could potentially be added in a bug report or reprex to be abundantly specific and explicit about the code you're running/talking about...

git2r::branch_get_upstream(git2r::repository_head())

prints something like
[3ee1d2] (origin @ git@github.com:2DegreesInvesting/StressTestingModelDev.git) master

Dominant language
No language data
Stars
17
Forks
5
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from RMI/resources

All issues in RMI/resources

Similar issues

More DevTools issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.