How-to articles, tricks, and solutions about GIT
Sometimes, working on local development there is a need to change permissions on various files. The tutorial will show how to ignore the File Mode changes.
Read how to push and track a new local branch to a remote repository in this tutorial. Learn the right commands and make your working process easier.
While working with Git, it is sometimes necessary to get rid of local (untracked) files from your current Working Tree. Learn how to do it in this snippet.
Sometimes it is necessary to merge a specific commit in Git. The below-given snippet is aimed at showing you how to do it in a rather fast and easy way.
Sometimes it is necessary for developers to clone just a single git branch. This short tutorial will help you to clone a single and specific branch in Git.
In the framework of group work, coworkers need to access each other’s repositories. Learn how to do it with the help of git checkout here.
Cloning is an essential process in Git. In this tutorial, you will find a solution to the problem of cloning remote branches and copy the codes right away.
Sometimes, you need to go back to the older commits and modify commit messages. In this tutorial find how to change the older and multiple commit messages.
The empty directories will not be added to version control by Git as it supports only files. In this snippet, find some fast solutions to this problem.
This tutorial will show you how to force git pull in case of untracked files which will be overwritten. Find important tips to avoid unwanted mistakes.
In this snippet, you will find out how to undo git merge in a relatively fast way.
There are cases when you need to revert or reset a file to a specific version. With the help of this tutorial you will easily manage it.
With the help of this tutorial, you will learn how to remove an unwanted Git submodule easily.
This snippet explains how to stop tracking and ignore changes to a file in git.
Read this tutorial and learn how to temporarily switch to different commit, hard delete unpublished commits, and undo published commits with new commits.
Sometimes, it is necessary to undo something while working in Git. Find your fast solution for undoing git add in this snippet.
It is very important to obtain a development copy of an existing central repository. Learn how to clone the remote repository into the current directory.
Don’t know how to stash the dirty state of the working directory and save it on a stack of incomplete changes? See how to stash with the given steps.
Don’t overload your git log with meaningless commits. Combine multiple commits into one with the help of our tutorial. See the explanation with codes.
Don’t underestimate the role of the commit message, as it is important for managing the work. In this snippet, you will find the steps to change your commit message.
Don’t waste your time struggling with Git. Here you can find the three commands that you should run to rebase your branch. See the explanation with codes.
Working with Git starts with installing. This tutorial shows how to install Git on Linux. Get the codes of installing Git from repository and source code.
Git allows recovering wrong changes in a project. This tutorial shows how to find information about the latest commit and get the latest commit’s hash.
It is recommended to delete the branch after merging it into the main master. Read the tutorial and find out how to delete branches locally and remotely.
Git has a lot of greatest advantages and one of them is considered undoing recent commits. Find several ways of undoing changes and get a copy of the codes.