One option is to add the aliases (with any of the improvements from later 
replies) to the wiki at https://git.wiki.kernel.org/index.php/Aliases 

regards

Philip
  ----- Original Message ----- 
  From: Bráulio Bhavamitra 
  To: git-users@googlegroups.com 
  Sent: Wednesday, May 29, 2013 12:23 PM
  Subject: [git-users] Highlevel (but simple to implement) commands provided by 
default for git


  Hello all,


  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 
-q HEAD) 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



  Source: https://github.com/brauliobo/gitconfig/blob/master/configs/.gitconfig


  regards,
  bráulio

  -- 
  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 to git-users+unsubscr...@googlegroups.com.
  For more options, visit https://groups.google.com/groups/opt_out.
   
   

  No virus found in this message.
  Checked by AVG - www.avg.com
  Version: 2013.0.3343 / Virus Database: 3184/6367 - Release Date: 05/29/13

-- 
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 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to