One of the things I note about git is that is provides mostly low-level and
strictly necessary commands.
Many highlevel commands are then implemented as alias by users, after a
deep search on the internet.
Adding highlevel commands, even though it could be implemented by a simple
alias, would put git in another level
of user experience and create a new standard for newbie users.
What git developers think about this?
I have, as many other users, an enormous .gitconfig. I paste here some
highlevel commands of it, according to my judgement.
Mercurial provides many of these highlevel commands.
root = rev-parse --show-toplevel
upstream = !git for-each-ref --format='%(upstream:short)' $(git symbolic-ref
upstream-remote = !git upstream | sed -e 's/\\/.*$//g'
out = !git fetch `git upstream-remote` && git l `git upstream`..HEAD
in = pull --dry-run
unmerged = !git ls-files --unmerged | cut -f2 | uniq
untracked = ls-files --other --exclude-standard
staged = ls-files --staged
modified = ls-files --modified
deleted = ls-files --deleted
head = !git l -1
current = rev-parse --abbrev-ref HEAD
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/groups/opt_out.