Skip to content

Instantly share code, notes, and snippets.

View claudiosteuernagel's full-sized avatar

Cláudio Steuernagel claudiosteuernagel

View GitHub Profile
@claudiosteuernagel
claudiosteuernagel / git-update-fork.sh
Created October 25, 2016 16:22 — forked from rdeavila/git-update-fork.sh
Git: como atualizar um fork com as mudanças do original?
#!/bin/bash
# Adicione um novo remote; pode chamá-lo de "upstream":
git remote add upstream https://github.com/usuario/projeto.git
# Obtenha todos os branches deste novo remote,
# como o upstream/master por exemplo:
git fetch upstream
@claudiosteuernagel
claudiosteuernagel / Git commands
Last active February 20, 2018 17:22
Git commands
Git commands