Extends configs and colorschemes
This commit is contained in:
parent
f2663c5b37
commit
328d4b246b
5 changed files with 201 additions and 42 deletions
|
|
@ -4,6 +4,16 @@ function wgbranch {
|
|||
}
|
||||
|
||||
|
||||
# compare file with another branch
|
||||
function wgcompare_file {
|
||||
file_path="$1"
|
||||
compare_branch_a="master"
|
||||
compare_branch_b="$(wgbranch)"
|
||||
|
||||
git diff "${compare_branch_a}:${file_path}" "${compare_branch_b}:${file_path}"
|
||||
}
|
||||
|
||||
|
||||
# output the stash ticket number to STDOUT
|
||||
function wgtix {
|
||||
wgbranch | perl -p -e 's/(?:feature|bugfix|refactor)\/(\w+-\d+).+$/\1/'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue