git-utils-source-me.sh 314 Bytes
Newer Older
Catriel Omar D'Elia's avatar
Catriel Omar D'Elia committed
1 2 3 4 5 6 7 8

function git-branches-with-remote(){
    echo "branch local <- remoto/branch-remota"
    echo "------------------------------------"
    git for-each-ref --format='%(refname:short) <- %(upstream:short)' refs/heads
    echo "------------------------------------"
    echo "git remote -v; # para ver los remotos"
}