$ docker
This file contains 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
axios.get(geocodeURL).then((response)=>{ | |
if(response.data.status==='ZERO_RESULTS'){ | |
throw new Error('Unable to find that address!'); | |
} | |
const lat=response.data.results[0].geometry.location.lat; | |
const lng=response.data.results[0].geometry.location.lng; | |
const weatherURL=`https://api.darksky.net/forecast/3708bcb6e2a477e7fb94de8fd3ecdfab/${lat},${lng}`; |
Instead of a single master
branch, this workflow uses two branches to record the history of the project. The master
branch stores the official release history, and the develop
branch serves as an integration branch for features.
We already have a master branch for both projects.
To create a develop
branch, which will only be done once by one of the team members, run:
git checkout -b develop
or
git branch develop