Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: git/git
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 369ae7567a
Choose a base ref
...
head repository: git/git
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: d18c950a69
Choose a head ref
  • 1 commit
  • 3 files changed
  • 1 contributor

Commits on Mar 10, 2020

  1. pull: warn if the user didn't say whether to rebase or to merge

    Often novice Git users forget to say "pull --rebase" and end up with an
    unnecessary merge from upstream. What they usually want is either "pull
    --rebase" in the simpler cases, or "pull --ff-only" to update the copy
    of main integration branches, and rebase their work separately. The
    pull.rebase configuration variable exists to help them in the simpler
    cases, but there is no mechanism to make these users aware of it.
    
    Issue a warning message when no --[no-]rebase option from the command
    line and no pull.rebase configuration variable is given. This will
    inconvenience those who never want to "pull --rebase", who haven't had
    to do anything special, but the cost of the inconvenience is paid only
    once per user, which should be a reasonable cost to help a number of new
    users.
    
    Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
    alexhenrie authored and gitster committed Mar 10, 2020
    4 Configuration menu
    Copy the full SHA
    d18c950 View commit details
    Browse the repository at this point in the history
Loading