Git fetch + merge, Git fetch + rebase, Git pull

Few days back, Amitoj asked me why doesn’t git fetch deletes the changes that are not present on remote but are present in local, when it does updates other changes. To explain it one need to understand the difference between git fetch + merge, git fetch + rebase and git pull and why we need to merge or rebase after a fetch and when? I tried searching for some good resources to explain the difference but I didn’t find anything good. So I thought of writing one.

First of all have a look at this image by  Oliver Steele.


Continue reading


Making An API using Python and Flask

I created a Horoscope API, using pyhoroscope package.

I used Flask and hosted it on Heroku. Heroku is free and price you, as you grow. It provides, for free 1 dyno. A dyno is an instance of your application running and responding to requests. Continue reading

#git, #heroku, #herokuapp, #horoscope-api, #programming, #python