When I do a git pull with rebase, how do I disable the rebase hook? -


the command:

git rebase --no-verify 

...allows me rebase without running git rebase hook i've created.

but i've set git pull rebase instead of merge, when pull, runs rebase trigger. there way pass --no-verify option git pull , have use option when rebasing?

(other last resort of creating wrapper script temporarily move triggers out of way, , move them again afterwards).

well, in 2 steps:

git fetch <remote> <branch> git rebase <remote>/<branch> --no-verify 

these 2 operations synonymous git pull --rebase or git pull configured use rebase instead of merge. create alias groups these 2 actions 1 , call pull-no-verify or that.


Comments

Popular posts from this blog

assembly - 8086 TASM: Illegal Indexing Mode -

Java, LWJGL, OpenGL 1.1, decoding BufferedImage to Bytebuffer and binding to OpenGL across classes -

javascript - addthis share facebook and google+ url -