Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Last tag #21

Merged
merged 3 commits into from
Oct 10, 2016
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Remove trailing spaces
  • Loading branch information
phdru committed Oct 6, 2016
commit 8d037451ad7aec7de3e6475ef2903832203519af
16 changes: 8 additions & 8 deletions gitalias.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@

# commit - amend the tip of the current branch, and do not edit the message.
can = commit --amend --no-edit

# commit interactive
ci = commit --interactive

Expand Down Expand Up @@ -119,7 +119,7 @@

# log with items appearing in topological order, i.e. descendant commits are shown before their parents.
lt = log --topo-order

# log key - our favorite way to show our key performance indicators, i.e. our most useful summary.
lk = log --graph --topo-order --abbrev-commit --date=short --decorate --all --boundary --pretty=format:'%Cgreen%ad %Cred%h%Creset -%C(yellow)%d%Creset %s %Cblue[%cn]%Creset %Cblue%G?%Creset'

Expand Down Expand Up @@ -545,13 +545,13 @@
unwip = !"git log -n 1 | grep -q -c wip && git reset HEAD~1"

# Assume
#
#
# Sometimes we want to change a file in a repo, but never check in your edits.
# We can't use .gitignore because the file is tracked. We use update-index.
#
# If you interact with big corporate projects, such as projects in Subversion,
# then you might run into the need to ignore certain files which are under
# Subversion control, yet you need to modify them but not commit.
# then you might run into the need to ignore certain files which are under
# Subversion control, yet you need to modify them but not commit.
# The assume-unchanged flag comes to the rescue.
#
# Suppose we want to edit passwords.txt and for god's sake never check it in:
Expand All @@ -574,7 +574,7 @@
#
# Thanks to http:https://durdn.com/blog/2012/11/22/must-have-git-aliases-advanced-examples/
# Thanks to http:https://blog.apiaxle.com/post/handy-git-tips-to-stop-you-getting-fired/

assume = update-index --assume-unchanged
unassume = update-index --no-assume-unchanged
assume-all = "!git st -s | awk {'print $2'} | xargs git assume"
Expand Down Expand Up @@ -611,8 +611,8 @@
branches = branch -a
tags = tag
stashes = stash list


### SHELL SCRIPTING ALIASES ###

# Get the current branch name
Expand Down