-
Video
Follow these Git commit message guidelines
Follow these rules for writing clear and concise Git commit messages that allow other developers to find and follow your commit history without any hassle. Watch Now
-
Article
5 basic Git commands developers must master: Tutorial with examples
Just getting started with Git or GitHub? If so, there are five basic Git commands you need to master. This Git commands tutorial for beginners takes you through each. Read Now
-
Video
Tough sample GitHub interview questions and answers for job candidates
If you're a developer in search of a DevOps job, you'll need to address these Git and GitHub interview questions and answers. And don't forget about distributed version control systems either. Watch Now
-
Video
Don't Git revert that last commit, Git reset instead
Developers should only use Git revert if they need to reverse out a specific change in their code. To simply undo a previous commit to a shared repository, use Git reset instead. Watch Now
Editor's note
As a source code tool, Git can be used for a multitude of reasons inside the development environment. Any developer should know the Git basics and which commands can be used in each situation. Use this guide to expand your knowledge on Git and to help optimize your code for a cleaner development environment.
1Getting started with Git
Outside of installation, developers should familiarize themselves with the Git basics, such as helpful, everyday commands and some of the associated dos and don'ts. Other tools have their own benefits and drawbacks, but if you decide that Git is the tool for you, here's what you need to know to get started.
-
Article
IT pros weigh Git version control against the competition
You won't get far today without version control to safely iterate on application code. But is Git -- or one of the many commercial products based on Git -- right for your team? Read Now
-
Blog
Step-by-step guide: How to install Git on Windows desktop computers
As distributed version control systems continue to supplant centralized systems like Subversion and CVS, more and more developers have made the move toward SaaS-based version control platforms such as GitHub, GitLab and BitBucket. Read Now
-
Article
5 basic Git commands developers must master: Tutorial with examples
Just getting started with Git or GitHub? If so, there are five basic Git commands you need to master. This Git commands tutorial for beginners takes you through each. Read Now
-
Blog
How not to write a Git commit message
I’m working on an article that outlines how to write a good Git commit message, along with a variety of Git commit message conventions and rules that developers should follow. Read Now
-
Blog
How to set Notepad++ as the default Git editor for commits instead of Vim
For the most part, developers who are new to the Git tool don’t have too much of a problem mastering the five basic Git commands every beginner should learn. But one speed-bump that does tend to trip up new users is the fact that the Git editor defaults to Vim. Read Now
2Git and Github
It may sound simple, but any good developer should understand the differences between Git and Github. Explore how the tool (Git) and the platform (Github) are intertwined, develop expertise in their features and learn how to demonstrate your knowledge to potential employers.
-
Video
Git vs. GitHub: What's the difference?
Git and GitHub involve similar technology but are different in several important ways. Here's what you need to understand to get the most out of these key developer tools. Watch Now
-
Article
Microsoft-GitHub acquisition shakes up DevOps market
Microsoft's $7.5 billion blockbuster deal for GitHub is a sea change for the IT market, as an enterprise software bellwether with legacy baggage snaps up an open source DevOps darling. Read Now
-
Article
Want a private GitHub repository? It comes with a catch
Want a private GitHub repo? You can now create one with a basic account, but the feature set is somewhat limited. Read Now
-
Video
How to Git started and use the Github Desktop app tool
The GitHub Desktop client has been around for a few years now. In this GitHub Desktop app tutorial, we take a look at how well the tool performs the five basic Git commands. Watch Now
-
Video
Tough sample GitHub interview questions and answers for job candidates
If you're a developer in search of a DevOps job, you'll need to address these Git and GitHub interview questions and answers. And don't forget about distributed version control systems either. Watch Now
3Fix bad mistakes with Git
Mistakes happen, especially in millions of lines of code. But don't fret. One of the Git basics you should know is how to quickly and safely fix a mistake with different Git commands. Revert, reset and cherry-pick are three of the more prominent commands a developer should know right out of the gate. Use these tutorials and videos to learn more.
-
Article
How to revert a Git commit: A simple undo changes example
The best way to undo previous changes to the source code repository is to learn how to revert a Git commit. Read Now
-
Video
A Git reset hard example: An easy way to undo local commits and shift head
For those looking to undo a commit, the easiest way to do it is by using the Git reset hard command. It's the easy way to reset the HEAD, the index and the working tree as well. Watch Now
-
Video
Don't Git revert that last commit, Git reset instead
Developers should only use Git revert if they need to reverse out a specific change in their code. To simply undo a previous commit to a shared repository, use Git reset instead. Watch Now
-
Blog
Learn to Git cherry-pick a commit with this easy example
One of the most commonly misunderstood version control commands is Git cherry-pick, and that’s a real shame because the ability to Git cherry-pick a commit is one of the most useful skills a developer can employ when trying to isolate a software bug or fix a broken build. Read Now
-
Blog
How to 'Git cherry-pick' from another branch to your own
In a previous tutorial, we took a look at how to cherry-pick a commit on the current branch, but one of the ancillary questions that commonly arises is how to perform a Git cherry-pick from another branch. Read Now
4Git integration with Jenkins
To achieve your continuous integration goals, you're going to want to know how Git and Jenkins work together. From installation and configuration of the Jenkins plugin, to how to handle web application resource files to securely manage pull requests, there are crucial skills to know.
-
Article
Jenkins Git integration: GitHub pull request via the Git plugin
This Jenkins Git integration tutorial demonstrates how to create a freestyle build job that performs a Jenkins GitHub pull request. It's an example of the Jenkins Git plug-in in action. Read Now
-
Video
How to use the Jenkins Git Plugin: Tips and tricks
Being able to pull from a source code repository is a given, but here are five features the Jenkins Git Plugin makes available to your build jobs that you didn't even know were there. Watch Now
-
Blog
Jenkins Git environment variables list: A working shell script example
Anyone automating their Jenkins pipelines through batch jobs or shell scripts knows the value of referencing entries on the Jenkins environment variables list. Read Now
-
Article
Use the Jenkins OAuth plug-in to securely pull from GitHub
The easiest way to securely push code to your remote GitHub repository from your continuous integration server is to use the Jenkins OAuth plug-in. This tutorial shows you how. Read Now
-
Video
Tough sample GitHub interview questions and answers for job candidates
If you're a developer in search of a DevOps job, you'll need to address these Git and GitHub interview questions and answers. And don't forget about distributed version control systems either. Watch Now
5Where Git fits in your distributed version control system tool belt
Git provides a powerful tool for developers, but there are right ways and wrong ways to handle files and messages. Learn the proper procedures for Git commit messages to keep problems and confusion to a minimum.
-
Video
Follow these Git commit message guidelines
Follow these rules for writing clear and concise Git commit messages that allow other developers to find and follow your commit history without any hassle. Watch Now
-
Blog
Where system, global and local Windows Git config files are saved
One of the five basic Git commands beginners need to learn is Git config, if for no other reason than they can perform a commit without the Git tool pestering them for a username and email address. Read Now
-
Blog
How Atomist's Rod Johnson works with pull requests
Pull requests play an important role in any large software development project. They facilitate efficient code review, reduce bugs, track progress, and help coordinate a shared understanding of large code bases. Read Now
-
Blog
Five ways to fix Git's 'fatal: repository not found' error
There’s nothing worse than joining a new development team and eagerly cloning the existing source code repo only to run head first into Git’s ‘fatal: repository not found’ error. Read Now
-
Article
10 Git quiz questions to test your distributed version control skills
Test your distributed version control knowledge with this 10 Git questions quiz. It's a quick test that will see how well you know the basics of the popular DVCS tool. Read Now