Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Chris Bills
git-tips
Commits
fae29e44
Commit
fae29e44
authored
Sep 03, 2015
by
Chris Bills
Browse files
Add some example git aliases
parent
27d29edf
Changes
1
Hide whitespace changes
Inline
Side-by-side
git-aliases
0 → 100644
View file @
fae29e44
[alias]
co = checkout
last = log -1 HEAD
unstage = reset HEAD --
ls = ls-tree --full-name --name-only -r HEAD
vis = log --graph --decorate --oneline --all
today = log --since "yesterday"
squash = "!_git_squash() { git rebase -i HEAD~$1; }; _git_squash"
stashed = stash list --pretty=format:'%gd: %h [%ar] %s'
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment