Use gitconfig rather than stgirc
[stgit] / examples / gitconfig
CommitLineData
abcc2620
CM
1# StGIT configuration file. Copy it to any of ~/.gitconfig or
2# .git/gitconfig and modify as needed. Note that the latter overrides
3# the former. The "git repo-config" command can be used as well
47e93ba9 4
41a6d859
CM
5[stgit]
6# Default author/committer details
abcc2620
CM
7#authname = Your Name
8#authemail = your.name@yourcompany.com
9#commname = Your Name
10#commemail = your.name@yourcompany.com
41a6d859 11
901288c2 12# E-mail sender (added to the "From: " header)
abcc2620 13#sender = Your Name <your.name@yourcompany.com>
901288c2 14
d884c4d8 15# Automatically Bcc the address below
abcc2620 16#autobcc = your.name@yourcompany.com
d884c4d8 17
41a6d859
CM
18# Set to 'yes' if you don't want to use the 'resolved' command.
19# 'refresh' will automatically mark the conflicts as resolved
abcc2620 20#autoresolved = no
41a6d859 21
abcc2620
CM
22#smtpserver = localhost:25
23#smtpuser = username
24#smtppassword = password
b4bddc06 25
b3bfa120 26# delay between messages in seconds (defaults to 5)
abcc2620 27#smtpdelay = 5
1e78b006 28
cd076ff6
CL
29# stg will look for this first, then look for the EDITOR environmental
30# variable, then default to using 'vi'
abcc2620 31#editor = /usr/bin/vi
cd076ff6 32
52f3900c 33# this value overrides the default PAGER environment variable
abcc2620
CM
34#pager = ~/share/stgit/contrib/diffcol.sh
35#pager = filterdiff --annotate | colordiff | less -FRX
52f3900c 36
b3bfa120 37# GIT pull command (should take the same arguments as git-pull)
abcc2620 38#pullcmd = git-pull
b3bfa120 39
1e075406
CM
40# The three-way merge tool. Note that the 'output' file contains the
41# same data as 'branch1'. This is useful for tools that do not take an
42# output parameter
abcc2620 43#merger = diff3 -L current -L ancestor -L patched -m -E \
b3bfa120 44# "%(branch1)s" "%(ancestor)s" "%(branch2)s" > "%(output)s"
41a6d859 45
1e075406
CM
46# Interactive three-way merge tool. It is executed by the 'resolved
47# --interactive' command
abcc2620 48#imerger = xxdiff --title1 current --title2 ancestor --title3 patched \
41a6d859
CM
49# --show-merged-pane -m -E -O -X -M "%(output)s" \
50# "%(branch1)s" "%(ancestor)s" "%(branch2)s"
abcc2620 51#imerger = emacs --eval '(ediff-merge-files-with-ancestor \
41a6d859
CM
52# "%(branch1)s" "%(branch2)s" "%(ancestor)s" nil "%(output)s")'
53
54# Leave the original files in the working tree in case of a merge conflict
abcc2620 55#keeporig = yes
d7fade4b 56
925ff4a7 57# Optimize (repack) the object store after every pull
abcc2620 58#keepoptimized = yes
925ff4a7 59
d7fade4b
CM
60# Extensions for the files involved in a three-way merge (ancestor,
61# current, patched)
abcc2620 62#extensions = .ancestor .current .patched