-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdot_gitconfig
More file actions
66 lines (47 loc) · 1.93 KB
/
Copy pathdot_gitconfig
File metadata and controls
66 lines (47 loc) · 1.93 KB
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
[alias]
# Attach actual revisions to the previous commit.
amend = commit --amend --reuse-message=HEAD
# Show both remote-tracking branches and branches on the current machine.
branches = branch --all --ignore-case
# Clone a repository including all submodules.
c = clone --recursive
# Show the entire commit graph of a local working repository on the current machine with some additional details.
hist = log --pretty=format:'%C(red)%h%C(reset) %C(yellow)%an: %C(cyan)%d %C(reset)%s %C(green)(%cr)' --graph --date=relative
# Update the current working tree and all its submodules.
p = pull --recurse-submodules
# Show the remote server settings.
remotes = remote --verbose
# Find and remove all branches that have been merged with the main branch in a local working repository on the current machine.
rmb = !git branch --merged | grep --extended-regexp --invert-match '(^\\*|develop|main|master)' | xargs git branch --delete
# Show the current working tree status using the shortest format.
st = status --short
# Show active tags of the current working tree.
tags = tag --list
# Reverse a previous commit in the current working tree.
uncommit = reset --soft HEAD^
# Reset the current working stage.
unstage = reset HEAD
[color]
ui = auto
[core]
# Set custom patterns of names to exclude unneeded untracked contents.
excludesfile = ~/.gitignore_global
[credential]
# Update the main storage time for user's credentials of the active session.
helper = cache --timeout=3600
[fetch]
# Automatic cleaning is to be made in the current working tree.
prune = true
[pull]
# Automatic recombination is to be made in the current working tree.
rebase = true
[push]
# Push into the current branch.
default = simple
[status]
# Show the working tree status and all its submodules.
submoduleSummary = true
[user]
email = igorby8881@gmail.com
# Set the current user's name.
name = Igor Yakubovsky