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: master
Choose a base ref
...
head repository: nylen/git
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Oct 9, 2012

  1. Add --unannotate option to git-subtree

    This new option does the reverse of --annotate, which is more useful
    when contributing back to a library which is also included in the
    repository for a larger project, and perhaps in other situations as
    well.
    
    Rather than adding a marker to each commit when splitting out the
    commits back to the subproject, --unannotate removes the specified
    string (or bash glob pattern) from the beginning of the first line of
    the commit message.  This enables the following workflow:
    
     - Commit to a library included in a large project, with message:
         Library: Make some amazing change
    
     - Use `git-subtree split` to send this change to the library maintainer
    
     - Pass ` --unannotate='Library: ' ` or ` --unannotate='*: ' `
    
     - This will turn the commit message for the library project into:
         Make some amazing change
    
    This helps to keep the commit messages meaningful in both the large
    project and the library project.
    
    Signed-off-by: James Nylen <jnylen@gmail.com>
    nylen committed Oct 9, 2012
    Configuration menu
    Copy the full SHA
    87b1446 View commit details
    Browse the repository at this point in the history
Loading