Added a new alias tfor git checkout - 'co'

This commit is contained in:
chawley (chawley-vm)
2021-02-17 16:51:34 -05:00
parent a75e1208b8
commit 7c9e9d72c7

View File

@@ -1,31 +1,32 @@
[core] [core]
editor = vim editor = vim
quotepath = false quotepath = false
[alias] [alias]
st = status st = status
latest = for-each-ref --sort=-committerdate --format='%(committerdate:short) %(refname:short)' co = checkout
lg-nice = log --graph --decorate --pretty=oneline --abbrev-commit latest = for-each-ref --sort=-committerdate --format='%(committerdate:short) %(refname:short)'
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit lg-nice = log --graph --decorate --pretty=oneline --abbrev-commit
graph = log --graph -10 --branches --remotes --tags --format=format:'%Cgreen%h %Creset• %<(75,trunc)%s (%cN, %cr) %Cred%d' --date-order lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
precommit = diff --cached --diff-algorithm=minimal -w graph = log --graph -10 --branches --remotes --tags --format=format:'%Cgreen%h %Creset• %<(75,trunc)%s (%cN, %cr) %Cred%d' --date-order
branches = branch -a precommit = diff --cached --diff-algorithm=minimal -w
tags = tag branches = branch -a
stashes = stash list tags = tag
remotes = remote -v update stashes = stash list
unstage = reset -q HEAD -- remotes = remote -v update
discard = checkout -- unstage = reset -q HEAD --
uncommit = reset --mixed HEAD~ discard = checkout --
amend = commit --amend uncommit = reset --mixed HEAD~
unmerged = diff --name-only --diff-filter=U amend = commit --amend
alias = config --get-regexp ^alias\\. unmerged = diff --name-only --diff-filter=U
as = config --get-regexp ^alias\\.
[push] [push]
default = simple default = simple
[color] [color]
ui = true ui = true
[user] [user]
name = chawley (derry) name = chawley
email = chawley@planethawleywood.com email = chawley@planethawleywood.com
[color "diff"] [color "diff"]