mirror of https://git.jolheiser.com/dotnix.git
parent
2e9cc88688
commit
960c423446
|
@ -1,9 +1,5 @@
|
||||||
export def "git bug init" [] {
|
export def "git bug init" [] {
|
||||||
^git config --add remote.origin.fetch "refs/bugs/*:refs/bugs/*"
|
git bug pull
|
||||||
^git config --add remote.origin.fetch "refs/identities/*:refs/identities/*"
|
|
||||||
^git config --add remote.origin.push "refs/bugs/*:refs/bugs/*"
|
|
||||||
^git config --add remote.origin.push "refs/identitites/*:refs/identities/*"
|
|
||||||
^git fetch
|
|
||||||
let id = ^git-bug user -f json | from json | where name == 'jolheiser' | get -i human_id.0
|
let id = ^git-bug user -f json | from json | where name == 'jolheiser' | get -i human_id.0
|
||||||
if ($id | is-not-empty) {
|
if ($id | is-not-empty) {
|
||||||
^git-bug user adopt $id
|
^git-bug user adopt $id
|
||||||
|
@ -12,6 +8,16 @@ export def "git bug init" [] {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export def "git bug pull" [] {
|
||||||
|
^git fetch origin refs/bugs/*:refs/bugs/*
|
||||||
|
^git fetch origin refs/identities/*:refs/identities/*
|
||||||
|
}
|
||||||
|
|
||||||
|
export def "git bug push" [] {
|
||||||
|
^git push origin refs/bugs/*:refs/bugs/*
|
||||||
|
^git push origin refs/identities/*:refs/identities/*
|
||||||
|
}
|
||||||
|
|
||||||
def "bug-id" [] {
|
def "bug-id" [] {
|
||||||
^git-bug bug --format json | from json | each {|bug| { value: $bug.human_id, description: $bug.title }}
|
^git-bug bug --format json | from json | each {|bug| { value: $bug.human_id, description: $bug.title }}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue