Skip to content

Instantly share code, notes, and snippets.

View mirlisboa's full-sized avatar

Mirela Lisboa Sobreira mirlisboa

View GitHub Profile

Keybase proof

I hereby claim:

  • I am mirlisboa on github.
  • I am mirlisboa (https://keybase.io/mirlisboa) on keybase.
  • I have a public key ASBGvjdScACxoUqAR6I6Oqst-KS3q9fBGy_tgwKBKtVqhAo

To claim this, I am signing this object:

@mirlisboa
mirlisboa / git-update-fork.sh
Last active May 11, 2019 23:43 — 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
# ou se quiser pegar as tags