| What We'll Do |
|---|
Sharing a little bit of the tools we use at the office as part of our data science process helping us mainly by our awesome friend R and the amazing pal Git
-
Clone this repository:
git clone --recurse-submodules https://github.com/adfmb/workshop_BBVA_UADY.git- Or Fork it and then clone it from your user
git clone --recurse-submodules https://github.com/<youruser>/workshop_BBVA_UADY.git -
Go to the repository's folder on your computer
cd workshop_BBVA_UADY -
Standing at workshop_BBVA_UADY/, create a folder with your username where you will be saving your progress
mkdir <youruser>
Here we'll "conect" or "link" our fork's local clone (our laptop) to the repo adfmb/workshop_BBVA_UADY.
- Go to the repository's folder on your computer
cd workshop_BBVA_UADY - Check with the
git remote -v
➜ git remote -v
origin https://github.com/<youruser>/workshop_BBVA_UADY.git (fetch)
origin https://github.com/<youruser>/workshop_BBVA_UADY.git (push)
-
Add the repo-class from url for the future pulls:
git remote add repo-class https://github.com/adfmb/workshop_BBVA_UADY.git -
Confirm by writing again the
git remote -v
➜ git remote -v
origin https://github.com/<youruser>/workshop_BBVA_UADY.git (fetch)
origin https://github.com/<youruser>/workshop_BBVA_UADY.git (push)
repo-class https://github.com/adfmb/workshop_BBVA_UADY.git (fetch)
repo-class https://github.com/adfmb/workshop_BBVA_UADY.git (push)
-
When we generate new info and files at our fork's local clone (our laptop) and, with it ,we want to update our fork (on the web
<youruser>/workshop_BBVA_UADY), the way is by:git push origin master -
If we want that our changes on our fork (on the web
<youruser>/workshop_BBVA_UADY) be reflected on the repo-class (on the webadfmb/workshop_BBVA_UADY), as samorogu taught us at his freaking awesome Git's course, we'll need to do apull-requestfrom the browser and wait for the authorized merge. -
When new info is available on the repo-class (on the web
adfmb/workshop_BBVA_UADY), we'll bring it to our fork's local clone (our laptop) by:git pull repo-class master
Thanks so much to this incredible smart guys for all their wisdom which I've been collected for this project:
