GIT is coming together ( at last )

I have been on a mission for us to use GIT with our XPages and Notes work for about 10 months now.

And it is just getting to the point where it is coming together nicely although it has been a LOT of hard work.

We still have issues like the previous post but it is working well. The latest step change was integrating our GIT repository ( bitbucket.org ) with JIRA which is the ticket system / agile board that we use.

Referencing a JIRA ticket in the GIT commit messages now shows the specific code changes up in the ticket which makes it a WHOLE lot easier to QA check and also for other developers in the team to get up to speed when looking at recent changes to a customer  application.

The scheme we are using is still broadly this one which I will write a bit more about soon.

For any smaller dev shops ( < 10 people ) Atlassian JIRA / Bit Bucket / Tempo Timesheets and JIRA Agile is an amazingly good deal for @$40 a year ( on premises ). Let me know if you have any questions about it. I will do a screen cast some time too.
Image:GIT is coming together ( at last )

The GIT Command Line Rules ( but only on this occasion mind you )

We have been working on a big project for some time and were ready to merge our “develop branch” into our master branch – see a here for the model we are trying to use.

We use SourceTree from Atlassian  which is very good normally but on this occasion we just couldn’t get it to resolve the design conflicts ( every item in this case ) – 2 of us for 2 hours trying everything.

In this particular case we knew that we wanted to use ALL of the design elements from “Develop” and none from “master”

In the end we resorted to the command line and did it in 30 seconds with some help from Stack Overflow – judging by the 394 up votes we were not alone.

>git checkout Develop    ( the capital D has caused us untold grief in this project )

>git merge -s ours master

>git checkout master

>git merge Develop

Voila – it was done. Martin Jinoch will be smiling to himself, he loves the command line every time.

And here is the result – a labour of love in a single picture 🙂

**yes we know there are things we should have done better now that we have committed to this project over 300 times – thats why I will eventually put our learning here – http://focul.net/sourcecontrol

Image:The GIT Command Line Rules ( but only on this occasion mind you )