Posted By

noah on 06/01/09


Tagged

undo alias global config git gitconfig


Versions (?)

.gitconfig aliases, including Undo Last Commit


 / Published in: Bash
 

URL: http://gist.github.com/121087

To set these aliases globally, put this in ~/.gitconfig. Or just put it in the local .gitconfig of a repo to try the settings locally.

  1. [alias]
  2. ci = commit
  3. pu = push origin master
  4. st = status
  5. undo = reset --soft HEAD^
  6. up = pull origin master

Report this snippet  

You need to login to post a comment.