Created
August 31, 2022 16:59
-
-
Save dougkusanagi/75e9222d32dfefa4a830bc068303ec3b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git init | |
//. para upar tudo | |
git add . | |
// ver aquivos modificados | |
git status | |
// Fazer o comit e colocar o nome | |
git commit -m "" | |
// add no repositorio curtytech | |
git remote add origin https://github.com/curtytech/needleOffice.git | |
// push para upar | |
git push -u origin master | |
// dar git clone com branch | |
git clone -b nomedabranch https://github.com/desenvolvimentoidpi/siseduc.git | |
git clone -b develop_saquarema https://github.com/desenvolvimentoidpi/siseduc.git | |
git clone -b develop_guapi https://github.com/desenvolvimentoidpi/siseduc.git | |
git clone -b develop_sg https://github.com/desenvolvimentoidpi/siseduc.git | |
psql -U postgres -h localhost -p 5432 -d siseduc_dev_guapi < /var/www/html/siseducguapi.pgbkp; | |
// Branches | |
// Saber qual branch esta | |
git branch | |
// Add nova branch | |
git checkout -b nomedabranch | |
// Mudar de Branch | |
git checkout branch | |
// | |
git restore file.php |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment