13 651
правка
Изменения
Новая страница: «Перед началом работы с git скопируйте себе вот это в gitconfig (name и email поменяйте на своё имя и…»
Перед началом работы с git скопируйте себе вот это в gitconfig (name и email поменяйте на своё имя и емейл):
<pre>
[user]
name = User Userovich
email = user@custis.ru
[core]
editor = mcedit
pager = less -FRXS -x4
quotePath = false
[alias]
st = status
ci = commit -a
co = checkout
branches = branch
br = branch
up = checkout
glog = log --graph --decorate --all
[color]
ui = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan
[i18n]
commitencoding = utf-8
[push]
default = simple
[pager]
status = true
[url "ssh://git@github.com"]
pushinsteadof = https://github.com
[merge]
defaultToUpstream = true
</pre>
<pre>
[user]
name = User Userovich
email = user@custis.ru
[core]
editor = mcedit
pager = less -FRXS -x4
quotePath = false
[alias]
st = status
ci = commit -a
co = checkout
branches = branch
br = branch
up = checkout
glog = log --graph --decorate --all
[color]
ui = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan
[i18n]
commitencoding = utf-8
[push]
default = simple
[pager]
status = true
[url "ssh://git@github.com"]
pushinsteadof = https://github.com
[merge]
defaultToUpstream = true
</pre>