-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgit_settings.txt
More file actions
26 lines (22 loc) · 813 Bytes
/
git_settings.txt
File metadata and controls
26 lines (22 loc) · 813 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# user info
git config --global user.name "Metin Amiroff"
git config --global user.email "amiroff@gmail.com"
# common aliases
git config --global alias.co checkout
git config --global alias.gb = git branch
git config --global alias.gbb = git branch -b
git config --global alias.gc = git commit -a -v
git config --global alias.ci = git commit
git config --global alias.gd = git diff
git config --global alias.gl = git pull
git config --global alias.gp = git push
git config --global alias.st = git status
git config --global alias.unstage = git reset HEAD --
git config --global alias.last = log -1 HEAD
# other tools
git config --global diff.tool meld
git config --global merge.tool meld
git config --global core.editor vim
# colors
git config --global color.status auto
git config --global color.branch auto