Use gert to scan all git repos in a directory

Tags: #<Tag:0x00007f27d2759e40>

rOpenSci package or resource used*

What did you do?

  • wrote a function that scans a directory looking for git repositories that may need to be pushed to (or pulled from) github
  • this example is based on the git_ahead_behind() command but it could easily generalise to other kinds of checks

URL or code snippet

Twitter handle