UNPKG

deletable-branches

Version:

List remote tracking branches in a Git repo that were in PRs that were squashed and merged into master.

8 lines (6 loc) 173 B
const child_process = require("child_process"); exports.getRemoteUrl = remote => child_process .execSync(`git remote get-url ${remote}`) .toString() .trim();