gitconfig: Add alias "fetch-pr"
This commit is contained in:
parent
5b894e3ce5
commit
9f0236db3a
|
|
@ -61,3 +61,6 @@
|
||||||
|
|
||||||
# Submodule helpers
|
# Submodule helpers
|
||||||
sm-update = submodule update --init --recursive --remote --merge
|
sm-update = submodule update --init --recursive --remote --merge
|
||||||
|
|
||||||
|
# Fetch a branch from a pull request (supported by GitHub)
|
||||||
|
fetch-pr = "!f() { [ $# -eq 2 ] || { echo 'Usage: git fetch-pr PULL_REQUEST_ID BRANCH_NAME'; exit 1; }; git fetch origin pull/$1/head:$2; }; f"
|
||||||
|
|
|
||||||
|
|
@ -8,3 +8,6 @@
|
||||||
|
|
||||||
[commit]
|
[commit]
|
||||||
gpgsign = true
|
gpgsign = true
|
||||||
|
|
||||||
|
[tag]
|
||||||
|
gpgsign = true
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue