Posts

Showing posts from November, 2014

Git / BitBucket / SourceTree

 Reverting Commits --------------------- I am new to git but had to do some branching and merging etc. recently.   SourceTree as a git client works quite well. A few things though, at times the changes in repository don't reflect immediately in the SourceTree UI.  Let us say there is a commit from other team member, you may not see it in UI right away but when you do pull from UI, the window which pops up, does show all the changes in remote branches. There is a very good article for git starters. http://git-scm.com/book/en/v2/Git-Branching-Basc-Branching-and-Merging In source tree, you can open the command window by Actions->Open In Terminal.  It will open the Git shell for the selected project. There you can directly execute any command. I had a situation where I had to revert few commits into one branch. One of the commit was a merge from another branch also. A----AC1---C2(Merge from A)-----------AC3 B----BC1----(Merge into A)---------------...