Skip to content

Instantly share code, notes, and snippets.

View JGeovani's full-sized avatar
🏠
Working from home

Geovani JGeovani

🏠
Working from home
View GitHub Profile
@JGeovani
JGeovani / .bashrc
Created October 1, 2015 16:31
How to you can customize your terminal on linux for show branch of git project
# Function for get branch of git project
function parse_git_branch () {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
}
# Color
RED="\[\033[0;31m\]"
YELLOW="\[\033[0;33m\]"
GREEN="\[\033[0;32m\]"
NO_COLOUR="\[\033[0m\]"
# PS1 is terminal workspace
Fluxo de Trabalho no Git
========================
Primeiro crie um branch de desenvolvimento no seu repositório local:
$ git checkout --track origin/development
1. Trabalhe em sua tarefa, continuamente comitando em intervalos regulares para manter
o rastro daquilo que você fez.