Home » Tag Archives: Git (page 3)

Tag Archives: Git

GIT Pull Requests Using GitHub

git-logo

Old Habits We’ve been working with git for more than a year. The SCM was migrated from SVN, with all its history. Our habits were migrated as well. Our flow is (was) fairly simple: master branch is were we deploy our code from. When working on a feature, we create a feature branch. Several people can work on this branch. ...

Read More »

How to manage Git Submodules with JGit

git-logo

For a larger project with Git you may find yourself wanting to share code among multiple repositories. Whether it is a shared library between projects or perhaps templates and such used among multiple different products. The Git built-in answer to this problem are submodules. They allow putting a clone of another repository as a subdirectory within a parent repository (sometimes ...

Read More »

Custom Git Commands in 3 Steps

git-logo

I’m lazy and so I seek ways to reduce repetitious activities. For instance, I’ve spent a lot of time in a terminal typing Git commands. A few of the more common commands, I’ve aliased. If I want to see a list of branches, I used to type:                 Listing Git branches $> git ...

Read More »

Automated bug finding with git bisect and mvn test

git-logo

Do you know the feeling when you discover a bug in a functionality that was working couple of weeks (or versions) ago? Too bad we didn’t have any automated tests and what used to be fine, now is broken. Let’s take this simple repository as an example:   Write test first We noticed that some particular functionality was OK in ...

Read More »

Trigger Continuous Delivery every GitHub commit

git-logo

Crucial piece of puzzle when developing web application is Continuous Delivery. Testers or users can by early access to alpha version contribute to development process. Design,  requirements, architecture or performance problems can be catched much sooner. I am going to show how to set up this process with usage of Maven and Jenkins. Target environment is hosted on Tomcat7. Source ...

Read More »

Creating beautiful release notes with git, gradle and markdown

git-logo

During the last days I asked myself how to generated releases notes from information that are available in commit  / tag messages from git. The decisions My first approach was to create the list of changes directly from the commit messages, but this approach has multiple drawbacks.         The commit messages must be written very disciplined An ...

Read More »

GIT & ZShell : Colorize your shell depending on your branch

git-logo

As announced in my last post I asked my colleague Tillman if I’m allowed to post his nice extension for the zshell (as you may have concluded he gives his OK! ). And here it is:               # Required to have the colour names autoload colors zsh/terminfo if [[ "$terminfo[colors]" -ge 8 ]]; then colors fi ...

Read More »

Changing commit message in Git

git-logo

Introduction Git is distributed version control system and now-a-days, it is de facto version control system for number of open source and closed source software projects, including Eclipse. Git is amazing tool to use and has lot of flexibility. Talking about flexibility, i was amazed by an interesting feature of git, that it allows you to edit and change previous ...

Read More »

A beginner’s guide to Git feature branches

git-logo

Why Git The proprietary software shaped the Version Control Systems (VCS) to fit its requirements: the project has a strict release schedule the team is collocated the sprint goals are well-defined and the focus goes to a limited number of stories branching is usually reserved for releases or risky development features the centralized server is hidden from the outside world ...

Read More »

Git flow with Jenkins and GitLab

git-logo

At work I recently transitioned from TFS to using Git as our source control management. After introducing the team to Git we also established a common workflow on how we wanted to have Git integrate with Jenkins and GitLab. Below is our current implementation. Git branching strategies Git branching strategies are guidelines on how to use git’s branching mechanism for ...

Read More »
Do you want to know how to develop your skillset and become a ...

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!
Get ready to Rock!
To download the books, please verify your email address by following the instructions found on the email we just sent you.

THANK YOU!

Close