Skip to content

Instantly share code, notes, and snippets.

View getJv's full-sized avatar
🎯
Focusing

Jhonatan Morais getJv

🎯
Focusing
  • Brasília, Brasil
View GitHub Profile
@rdeavila
rdeavila / git-update-fork.sh
Last active March 10, 2025 23:52
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
@leocomelli
leocomelli / git.md
Last active April 21, 2025 08:38
Lista de comandos úteis do GIT

GIT

Estados

  • Modificado (modified);
  • Preparado (staged/index)
  • Consolidado (comitted);

Ajuda

sudo zypper in php5-phar php5-openssl
curl -sS https://getcomposer.org/installer | php
sudo mv composer.phar /usr/local/bin/composer