Run git pull --rebase interactively?

Is it possible to run the "git pull --rebase" command interactively (for example, git rebase -i)?

+6
source share
1 answer

Original answer (April 2015)

Not really given git pull --rebase not the same as git fech + git rebase .
See what git pull --rebase ?


January 2016 Update

Git 2.8 (March 2016) will allow you to have pull --rebase interactive!

See commit 17c4ddb , commit b5496d4 , commit f5eb87b (January 13, 2016) Johannes Schindelin ( dscho ) .
(merger of Junio ​​C Hamano - gitster - on commit f9219c0 , January 26, 2016

pull : enable interactive reboot with --rebase=interactive

A couple of years ago, I found the need to collaborate with branches on topics that were constantly being rebuilt, and I really needed to see what I was rebuilding when I was pulling, so I introduced interactive-juggling.

How the built-in pull works, this change also supports the value ' interactive ' for the configuration variable < branch.<name>.rebase ', which is a neat thing, because now users can configure these branches to interactively drag and drop traction without entering the full --rebase=interactive every time they pull.

+9
source

Source: https://habr.com/ru/post/914295/


All Articles