X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/9e3f506f0d0e1b0c09d1e9d7051af23bfede7834..224ef1ec6e53988776b257de48a0b559ef43a8be:/examples/gitconfig diff --git a/examples/gitconfig b/examples/gitconfig index 42e6296..4f56918 100644 --- a/examples/gitconfig +++ b/examples/gitconfig @@ -1,61 +1,90 @@ # StGIT configuration file. Copy it to any of ~/.gitconfig or # .git/config and modify as needed. Note that the latter overrides -# the former. The "git repo-config" command can be used as well +# the former. The "git config" command can be used as well [user] -# Default author/committer details (standard GIT variables) -#name = Your Name -#email = your.name@yourcompany.com + # Default author/committer details (standard GIT variables) + name = Your Name + email = your.name@yourcompany.com [stgit] -# E-mail sender (added to the "From: " header) -#sender = Your Name + # E-mail sender (added to the "From: " header) + #sender = Your Name -# Automatically Bcc the address below -#autobcc = your.name@yourcompany.com + # Automatically Bcc the address below + #autobcc = your.name@yourcompany.com -# Set to 'yes' if you don't want to use the 'resolved' command. -# 'refresh' will automatically mark the conflicts as resolved -#autoresolved = no + # Automatically sign newly created patches + #autosign = Signed-off-by -#smtpserver = localhost:25 -#smtpuser = username -#smtppassword = password + # SMTP server for sending patches + #smtpserver = /usr/sbin/sendmail -t -i + #smtpserver = localhost:25 -# delay between messages in seconds (defaults to 5) -#smtpdelay = 5 + # Set to 'yes' to use SMTP over TLS + #smtptls = no -# stg will look for this first, then look for the EDITOR environmental -# variable, then default to using 'vi' -#editor = /usr/bin/vi + # Username for SMTP authentication, required if TLS is used + #smtpuser = username -# this value overrides the default PAGER environment variable -#pager = ~/share/stgit/contrib/diffcol.sh -#pager = filterdiff --annotate | colordiff | less -FRX + # Password for SMTP. If not provided, it will be asked + #smtppassword = password -# GIT pull command (should take the same arguments as git-pull) -#pullcmd = git-pull + # delay between messages in seconds (defaults to 5) + #smtpdelay = 5 -# The three-way merge tool. Note that the 'output' file contains the -# same data as 'branch1'. This is useful for tools that do not take an -# output parameter -#merger = diff3 -L current -L ancestor -L patched -m -E \ -# "%(branch1)s" "%(ancestor)s" "%(branch2)s" > "%(output)s" + # stg will look for this first, then look for the EDITOR environmental + # variable, then default to using 'vi' + #editor = /usr/bin/vi -# Interactive three-way merge tool. It is executed by the 'resolved -# --interactive' command -#imerger = xxdiff --title1 current --title2 ancestor --title3 patched \ -# --show-merged-pane -m -E -O -X -M "%(output)s" \ -# "%(branch1)s" "%(ancestor)s" "%(branch2)s" -#imerger = emacs --eval '(ediff-merge-files-with-ancestor \ -# "%(branch1)s" "%(branch2)s" "%(ancestor)s" nil "%(output)s")' + # this value overrides the default PAGER environment variable + #pager = less -FRSX + #pager = filterdiff --annotate | colordiff | less -FRSX -# Leave the original files in the working tree in case of a merge conflict -#keeporig = yes + # GIT pull and fetch commands (should take the same arguments as + # git fetch or git pull). By default: + #pullcmd = git pull + #fetchcmd = git fetch -# Optimize (repack) the object store after every pull -#keepoptimized = yes + # Rebase command. Note that this command is internally implemented in + # a different way. Only define this option if a different rebase + # is needed (i.e. 'git svn rebase') + #rebasecmd = git reset -# Extensions for the files involved in a three-way merge (ancestor, -# current, patched) -#extensions = .ancestor .current .patched + # "stg pull" policy. This is the repository default, which can be + # overriden on a per-branch basis using branch.*.stgit.pull-policy + # By default: + #pull-policy = pull + # To support remote rewinding parent branches: + #pull-policy = fetch-rebase + # To support local parent branches: + #pull-policy = rebase + + # Automatically invoke the interactive merger (git mergetool) in case + # of conflicts + #autoimerge = no + + # Optimize (repack) the object store after every pull + #keepoptimized = yes + + # Extensions for the files involved in a three-way merge (ancestor, + # current, patched) + #extensions = .ancestor .current .patched + + # The number of patches to be listed before and after the + # current one by the 'series --short' command + #shortnr = 5 + + # The maximum length of an automatically generated patch name + #namelenth = 30 + + # Extra options to pass to "git diff" (extend/override with + # -O/--diff-opts). For example, -M turns on rename detection. + #diff-opts = -M + + # Behave as if the --keep option is always passed + #autokeep = no + +[mail "alias"] + # E-mail aliases used with the 'mail' command + git = git@vger.kernel.org