RE: Summary of the problems with git pull
- From
Felipe Contreras <felipe.contreras@gmail.com>
- Date
- May 10, 2014, 08:53 UTC
- Message-ID
- <536de90320f06_239010732fc82@nysa.notmuch>
- In-Reply-To
- <5366db742d494_18f9e4b308aa@nysa.notmuch>
Felipe Contreras wrote:
Show 5 quoted lines
> == git update == > > Another proposed solution is to have a new command: `git update`. This > command would be similar to `git pull --ff-only` by default, but it > could be configured to do merges instead, and when doing so in reverse.
And here it is:
https://github.com/felipec/git/commits/fc/update
Here's the documentation:
https://github.com/felipec/git/wiki/git-update
Works exactly as expected: non-fast-forwards are rejected by default, but can be configured, and parents are reversed when merging.
-- Felipe Contreras