Home » Tag Archives: Git

Tag Archives: Git

Global gitignore

A widely used Git feature is to use local .gitignore files which list which names and patterns of files and directories will be ignored within the Git repository. There is also the possibility to create a system-wide gitignore file which lists patterns that should always be ignored, in all of the user’s Git repositories. You can point to the file ...

Read More »

Git Essentials Crash Course

Introduction This is not Java but several newbie developers ask the same question, how to use GIT and how does GIT works so here it goes… Have you ever work in SVN? Well forget everything you know and lets start over What is a GIT repo? In general there are two mirror repos. Your local repo and the remote repo. ...

Read More »

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 »