• thirteene@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    4 months ago

    I use this in my bash profile in case anyone else finds it helpful. Usage is:

    gao fixing a typo

    function gao() {
        git add .
        git commit -a -m "$*"
        git push origin `git rev-parse --abbrev-ref HEAD`
    }