Skip to content

Commit

Permalink
shorter git aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
nonrational committed Dec 24, 2024
1 parent e5b51f3 commit 5ead5b9
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,11 @@

up = "!git f && hub sync"

modified = "!git ls-files --modified"
deleted = "!git ls-files --deleted"
untracked = "!git ls-files --others --exclude-standard"
new = untracked
# list specific sets of files
mod = "!git ls-files --modified ."
del = "!git ls-files --deleted ."
new = "!git ls-files --others --exclude-standard"
# ignored = "!git ls-files --others --ignored --exclude-standard * **/*"

# ignore untracked files in this specific repo
is-it-just-me = "!$EDITOR .git/info/exclude"
Expand Down

0 comments on commit 5ead5b9

Please sign in to comment.