Home » Tag Archives: Git

Tag Archives: Git

Easier work with Git submodules with in-place push access – Git Tricks #2

Get know how to solve issue with pushing to submodules directly from the main repo while keeping the project easily cloneable by external contributors. Introduction The Git submodules mechanism is pretty handy to keep the source code of lousily related dependent software together in one Git repository while leaving their development separate. It is something like symlinks in the Unix ...

Read More »

Auto-switchable multiple Git identities on one computer – Git Tricks #1

Have you even committed to Git using wrong email address working on/for different projects/companies? Luckily with a little configuration Git can auto-switch the identities for you. (Too long) introduction and reasoning Being an (experienced) IT professional can give you an opportunity to work on different things in the same time frame. For instance, in addition to work for the main ...

Read More »

The dark side of Git

Git is Great! As a distributed source code tool, git is great. I love that when I’m on an airplane I can commit code without a wireless connection and have be able to unwind what I was doing. It was clearly designed with the “offline” model in mind. The idea I can create a quick branch, experiment, make massive sweeping ...

Read More »

Useful Git Commands

Git is a most widely used and powerful version control system for tracking changes in computer files and coordinating work on those files among multiple people. It is primarily used for source code management in software development, but it can be used to keep track of changes in any set of files. Git was developed by Linus Torvalds in 2005 ...

Read More »

Selecting Git commits by message

  In order to checkout, cherry-pick, or reset Git commits, you don’t have to provide their SHA commit hash. All commits can be referred to by their message, by using the pattern :/<part-of-message>, which comes in very handy when using Git from the command line. Given the following commit history: caeb1d8 (HEAD) commit 4 2f6d4da commit 3 8207cf2 commit 2 ...

Read More »

Tools For Software Engineering Teams

The effect of poorly performing web applications echoes across various parts of the business. The more breakage there is, the more busy support teams get. There is less traction, and product teams are puzzled about user retention. Engineers are inundated with bug-fixes, leaving no time for feature development. Business stakeholders receive no insight into performance improvements. Engineering managers cannot clearly ...

Read More »

What is the difference between ‘git pull’ and ‘git fetch’?

In the simplest terms, git pull does a git fetch followed by a git merge. You can do a git fetch at any time to update your remote-tracking branches under refs/remotes/<remote>/. This operation never changes any of your own local branches under refs/heads, and is safe to do without changing your working copy. I have even heard of people running ...

Read More »