Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Being a slow typer, I couldn't get bothered. I have about 30 alias in my bash_profile for git. These are the ones I use most:

    alias ga='git add'
    alias gs='git status'                                                                                                                                                                            
    alias gc='git commit'
    alias gls='git ls-files' #lists all tracked files!  
    alias gg='git add -u; git commit -a -m "lazy commit"' # stage and    commit everything tracked. So lazy ...                                                                                        
The latter I only use for committing non-code. Like my notes in org-mode.

I also found it very convenient to have

    alias eb='emacs ~/.bash_profile'
makes me edit my dash_profile almost every day.



I'm with this guy. Basically the same setup.

I still alias 'git' to 'g' also for all the other commands needed throughout the day. Not sure why yall would keep typing 'it'.

I do enjoy the ascii car tho. Cheers to that. Probably will set this up anyways!




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: