Knowing GIT The Easy Way !!
I have seen many people(including myself !) who have just messed up with GIT. Now the fact for most of the developers working is they all know GIT but not the correct way of using it. There's a huge difference and impact in very small fundamentals of GIT. So in this article i will be explaining a very important point of Difference between GIT Merge and GIT Rebase . So, to explain in simple words doing a git merge will merge your current branch with master from where you have created it. This will create very shabby commit logs which are very confusing for anyone to track. And git rebase will first put all commits fetched from the master below yours as yours is the latest one and then pushing the same in the master. This will create a very clean one lined commit logs which is a good way of doing it. First of all i am assuming that you have cloned a repo from github into your system. After completing your task on your working branch(lets assume xyz_staging) other than master, ...