import * from "../config.ab" pub fun branch_get_current(): Text { return unsafe $git branch --show-current$ } pub fun branch_create(branch: Text, start_point: Text): Null { echo "git switch -c \"{branch}\" \"{start_point}\"" // $git switch -c "{branch}" "{start_point}"$? } pub fun branch_checkout(branch: Text): Null { echo "git checkout \"{branch}\"" // $git checkout "{branch}$? } pub fun branch_delete(branch: Text): Null { echo "git branch -d \"{branch}\"" // $git branch -d "{branch}"$? } pub fun branch_set_description(branch: Text, description: Text): Null { echo "git config --no-add branch.\"{branch}\".description \"{description}\""4 // $git config --no-add branch."{branch}".description "{description}"$? } pub fun branch_push(branch: Text, remote: Text): Null { echo "git push \"{remote}\" \"{branch}\"" // $git push "{remote}" "{branch}"$? }