UNPKG

ice.fo.utils

Version:

6 lines (4 loc) 165 B
const { execSync } = require('child_process'); module.exports = function getCurrentBrannch() { return execSync('git branch --show-current').toString().trim(); };