2fc5f520d4dbcb92a206ac39de9d237c8d61e1c2
[stgit] / examples / gitconfig
1 # StGIT configuration file. Copy it to any of ~/.gitconfig or
2 # .git/config and modify as needed. Note that the latter overrides
3 # the former. The "git config" command can be used as well
4
5 [user]
6 # Default author/committer details (standard GIT variables)
7 name = Your Name
8 email = your.name@yourcompany.com
9
10 [stgit]
11 # E-mail sender (added to the "From: " header)
12 #sender = Your Name <your.name@yourcompany.com>
13
14 # Automatically Bcc the address below
15 #autobcc = your.name@yourcompany.com
16
17 # Automatically sign newly created patches
18 #autosign = Signed-off-by
19
20 # Set to 'yes' if you don't want to use the 'resolved' command.
21 # 'refresh' will automatically mark the conflicts as resolved
22 #autoresolved = no
23
24 # SMTP server for sending patches
25 #smtpserver = /usr/sbin/sendmail -t -i
26 #smtpserver = localhost:25
27
28 # Set to 'yes' to use SMTP over TLS
29 #smtptls = no
30
31 # Username for SMTP authentication, required if TLS is used
32 #smtpuser = username
33
34 # Password for SMTP. If not provided, it will be asked
35 #smtppassword = password
36
37 # delay between messages in seconds (defaults to 5)
38 #smtpdelay = 5
39
40 # stg will look for this first, then look for the EDITOR environmental
41 # variable, then default to using 'vi'
42 #editor = /usr/bin/vi
43
44 # this value overrides the default PAGER environment variable
45 #pager = ~/share/stgit/contrib/diffcol.sh
46 #pager = filterdiff --annotate | colordiff | less -FRX
47
48 # GIT pull and fetch commands (should take the same arguments as
49 # git fetch or git pull). By default:
50 #pullcmd = git pull
51 #fetchcmd = git fetch
52
53 # Rebase command. Note that this command is internally implemented in
54 # a different way. Only define this option if a different rebase
55 # is needed (i.e. 'git svn rebase')
56 #rebasecmd = git reset
57
58 # "stg pull" policy. This is the repository default, which can be
59 # overriden on a per-branch basis using branch.*.stgit.pull-policy
60 # By default:
61 #pull-policy = pull
62 # To support remote rewinding parent branches:
63 #pull-policy = fetch-rebase
64 # To support local parent branches:
65 #pull-policy = rebase
66
67 # Interactive two/three-way merge tool. It is executed by the
68 # 'resolved --interactive' command
69 #i3merge = xxdiff --title1 current --title2 ancestor --title3 patched \
70 # --show-merged-pane -m -E -O -X -M \"%(output)s\" \
71 # \"%(branch1)s\" \"%(ancestor)s\" \"%(branch2)s\"
72 #i2merge = xxdiff --title1 current --title2 patched \
73 # --show-merged-pane -m -E -O -X -M \"%(output)s\" \
74 # \"%(branch1)s\" \"%(branch2)s\"
75 #i3merge = emacs --eval '(ediff-merge-files-with-ancestor \
76 # \"%(branch1)s\" \"%(branch2)s\" \"%(ancestor)s\" nil \
77 # \"%(output)s\")'
78 #i2merge = emacs --eval '(ediff-merge-files \
79 # \"%(branch1)s\" \"%(branch2)s\" nil \"%(output)s\")'
80
81 # Automatically invoke the interactive merger in case of conflicts
82 #autoimerge = no
83
84 # Leave the original files in the working tree in case of a
85 # merge conflict
86 #keeporig = yes
87
88 # Optimize (repack) the object store after every pull
89 #keepoptimized = yes
90
91 # Extensions for the files involved in a three-way merge (ancestor,
92 # current, patched)
93 #extensions = .ancestor .current .patched
94
95 # The number of patches to be listed before and after the
96 # current one by the 'series --short' command
97 #shortnr = 5
98
99 # The maximum length of an automatically generated patch name
100 #namelenth = 30
101
102 # Extra options to pass to "git diff" (extend/override with
103 # -O/--diff-opts). For example, -M turns on rename detection.
104 #diff-opts = -M
105
106 # Behave as if the --keep option is always passed
107 #autokeep = no
108
109 [mail "alias"]
110 # E-mail aliases used with the 'mail' command
111 git = git@vger.kernel.org