Home » Tag Archives: Git

Tag Archives: Git

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 »

4 Not-So-Obvious Reasons Why You Should Migrate From TFVC to Git

The Team Foundation Server (TFS) is a Microsoft product that provides all the necessary features to support the software development process, like source code management, requirements and project management, and build and release processes. These days, TFS supports two types of source code management systems: Team Foundation Version Control (TFVC) and Git. On the surface, both systems are very similar. ...

Read More »

Storing Encrypted Credentials In Git

We all know that we should not commit any passwords or keys to the repo with our code (no matter if public or private). Yet, thousands of production passwords can be found on GitHub (and probably thousands more in internal company repositories). Some have tried to fix that by removing the passwords (once they learned it’s not a good idea ...

Read More »

Git commit fixup and autosquash

Git commit fixup and autosquash are helpful features when you want to “fix” changes from a single commit in your history. If you discover that you want to change a single commit in your Git history, you would need to manually commit based on the commit you’re about to change and perform a git rebase. Fixup commits produce commits that ...

Read More »

Custom Git subcommands

Heavy users of Git often find themselves writing their own Git shortcuts or scripts which combine multiple Git commands for frequently used features. The possibilities to shortcut your way around Git include Git aliases, shell aliases, or custom scripts that reside in your $PATH. For the latter, there is an interesting feature in the Git command line that I just ...

Read More »

Git Tutorial for Beginners

1. What is Git ? Git is a popular file versioning system used globally by numerous developers for their projects. It is lightweight and swift in its performance as compared to the likes. With a number of UI based tools to assist in Git based versioning, it has become extremely convenient for the developers to use Git Versioning System. Git flaunts ...

Read More »

Git version control with Eclipse (EGit) Tutorial

1. What is EGit ? GIT is a popular versioning system used widely across the software development sector. Despite being a popular versioning system, it isn’t really easy to work with when it comes to using the command line interface for versioning. To solve this difficulty, the developers came up with creative GUI based tools called the GIT clients. GIT ...

Read More »