- git add * ou git add nome-arquivo
- git commit -m "comentário da alteração"
- git push origin master
- git pull
- Create directly on GitHub
or
- git clone repository-link
- git branch nova-branch
- git checkout nova-branch
or
-
git checkout -b nova-branch (sai de uma branch, cria outra e entra nela)
-
git add *
-
git commit -m "alterei o arquivo x"
-
git push --set-upstream origin nova-branch
-
Ir no branch criado e criar o pull request
- git checkout -b myfeature develop
- Switched to a new branch "myfeature"
- git checkout develop
- Switched to branch 'develop'
- git merge --no-ff myfeature
- Updating ea1b82a..05e9557 (Summary of changes)
- git branch -d myfeature
- Deleted branch myfeature (was 05e9557)
- git push origin develop
- git clone [email protected]:magrathealabs/minions.git
- git config --global core.editor "subl3 -n -w"
Using -a option to the git commit command, you don't need to git add, it will automatically add all files that are tracked.
- git commit -a -m "text"
- git mv file_from file_to
- git log
or
- git log -p
- py -m pip install module-name
- conda install module-name
- sudo nano /etc/profile
- export PATH=$PATH:/home/murilo/anaconda3/bin on end of file
- Ctrl+O to save
- Ctrl+X to exit
- Reinicialize the system
- "echo $PATH" to see all the PATH's
source ~/tensorflow/venv/bin/activate