[user] name = First Last email = email@address.com [format] # Add the patch number and the total number of patches in the series to # the subject of the patch email if more than one patch is being produced. numbered = auto [alias] cp = cherry-pick ci = commit co = checkout f = fetch s = status b = branch d = diff a = add l = log [color] branch = auto diff = auto status = auto [http] # The CA certificate used to verify servers in sip-router.org domain, this # is useful if you pull from, for example, https://git.sip-router.org. #sslCAInfo = /etc/ssl/certs/sip-router.org_CA.pem [merge] # Include the summary of merged commits into all newly created merge # commits. The newly created merge commit will contain a one-line summary # of every (well, most) merged commits. log = true # Show merge statistics after merge. stat = true [branch] # When creating a new branch off a remote branch, always set it up to # track the remote branch so that we can pull from there. autoseupmerge = always [branch "master"] # This is the list of cmdline options that should be added to git-merge # when I merge commits into the master branch. # # First off, the option --no-commit instructs git not to commit the merge # by default. This allows me to do some final adjustment to the commit log # message before it gets commited. I often use this to add extra info to # the merge message or rewrite my local branch names in the commit message # to branch names sensible to the casual reader of the git log. # # Option --no-ff instructs git to always record a merge commit, even if # the branch being merged into can be fast-forwarded. This is often the # case when you create a short-lived topic branch which tracks master, do # some changes on the topic branch and then merge the changes into the # master which remained unchanged while you were doing your work on the # topic branch. In this case the master branch can be fast-forwarded (that # is the tip of the master branch can be updated to point to the tip of # the topic branch) and this is what git does by default. With --no-ff # option set git creates a real merge commit which records the fact that # another branch was merged. I find this easier to understand and read in # the log. # mergeoptions = --no-commit --no-ff