Home » Tag Archives: Git

Tag Archives: Git

Git Tutorial – The Ultimate Guide

git-logo

Git is, without any doubt, the most popular version control system. Ironically, there are other version control systems easier to learn and to use, but, despite that, Git is the favorite option for developers, which is quite clarifying about the powerfulness of Git. This guide will cover all the topics needed to know in order to use Git properly, from ...

Read More »

Why I Prefer Merge Over Rebase

git-logo

There are many ways to work with git. The workflows vary depending on the size of the team, organization, and on the way of working – is it distributed, is it sprint-based, is it a company, or an open-source project, where a maintainer approves pull requests. You can use vanilla-git, you can use GitHub, BitBucket, GitLab, Stash. And then on ...

Read More »

What’s the Difference? Creating Diffs with JGit

git-logo

In this post, I will dig into the details of how to diff revisions and create patches with JGit. Starting from the high-level DiffCommand all the way down to the more versatile APIs to find particular changes in a file. DiffCommand, Take I The diff command can be used to compare two revisions and report which files were changed, added ...

Read More »

Git, your way – Meet Bitbucket, code collaboration on steroids

bitbucket-logo

Hello fellow Java geeks. Today we are proud to announce that we have teamed up with Atlassian to promote Bitbucket. Bitbucket is the Git solution for professional teams. A distributed version control system that makes it easy for you to collaborate with your team and ship high quality code. Fast! Bitbucket is the ONLY collaborative Git solution that massively scales! We are certain that ...

Read More »

Change default Git commit message template

git-logo

We do lot of changes to projects and commit those in git repository and then commit those changes along with proper commit message. While collaborating on bigger project with lot of collaborators working at same time, commit message should be proper and reflect what those changes are. Lot of big projects has standard commit message template ready for collaborators to follow/understand ...

Read More »

Git stash driven development

git-logo

I’ve found myself using a pattern quite often recently, which I’ve been calling “git stash driven development” – that is, relying heavily on the magic of git stash as part of my development workflow. Normally I follow what I think of as a fairly typical TDD workflow: Write next test, watch it fail Write code to make it pass Commit Refactor ...

Read More »

Getting Started with JGit

git-logo

If you ever wondered how basic Git commands like git init, git checkout and so on are executed in JGit, read on. This tutorial gives an overview of the most commonly used git commands and their counterparts in JGit. It walks through the steps to create a repository, fetch contents from a remote, add and remove files to/from the history, ...

Read More »

Gonsole 1.2: Open Git Consoles from Everywhere

git-logo

We have added a little feature to the Git Console for the Eclipse IDE that may be helpful here and there.                       In the Show In menu (Alt+Shift+W) there is now an entry for the Git Console. The entry is available if a single a file, folder or project is ...

Read More »

Want to take your Java skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • Advanced Java Guide
  • Java Design Patterns
  • JMeter Tutorial
  • Java 8 Features Tutorial
  • JUnit Tutorial
  • JSF Programming Cookbook
  • Java Concurrency Essentials