Practical solutions

Git Howtos How-To Guides

Solve the problem. Keep building. Collection of Git how-to articles

Find the answer you need

Browse practical solutions, grouped by the task you're working on.

__COUNT__ entries on this page

How to Revert a Git Repository to a Previous CommitYou can roll back to a previous commit in a Git repository. How to Move Existing Uncommitted Changes to a New Branch in GitYou can move your uncommitted changes to a new branch in Git. How to git add, git commit, and git push in One CommandYou can add, commit and push files in one command in Git. How to Fix: Git Is Not Recognized as an Internal or External Command ErrorDifferent ways to fix the git is not recognized as an internal or external command error. Difference Between Git Merge Origin/Master and Git PullDifferentiate between the git merge origin/master and git pull commands. Git IconsThis tutorial demonstrates the descriptions and usage of icons in general and in Git. Difference Between Forking and Cloning on GitHubDifferentiate between cloning and forking on GitHub. Difference Between Forking and Branching on GitHubDifferentiate between branching and forking on GitHub. How to Clone With Username and Password in GitThis tutorial is about cloning a repository with username and password in Git. How to Merge a Git Branch Into Master in GitGit merge is an excellent feature that allows developers to combine different feature branches to the production branch. This tutorial demonstrates various strategies to merge features branches with the master. It will also explore the semantics of merge and rebase as well, so developer choose the best one against the other How to Undo Commit in GitThis tutorial demonstrates to undo the most recent local commit in git using different commands How to Force Git Pull to Overwrite Local FilesThis tutorial demonstrates how to force pull the repository to overwrite local files using Git commands. How to Squash Commits in GitThis tutorial is about squashing of commits in Git. In Git, squashing of commits means to combine multiple commits into one. How to Resolve Merge Conflicts in GitThis tutorial is about resolving the conflicts arising when merging branches in Git. How to Reset HEAD in GitThis tutorial demonstrates how to do the reset HEAD for restoring last commit in Git. How to Update Branch From Master in GitThis tutorial demonstrates how to update Git branch from master branch using various commands. How to Stash Specific Files in GitThis article introduces how to stash specific files in Git How to Reattach Head in GitThis tutorial demonstrates how to head detached in Git using various commands. How to Cherry-Pick a Commit in GitThis tutorial demonstrates Cherry-picking a commit in Git using commands. How to Stash Changes of the Files by Name in GitThis tutorial is about stashing changes of the files by name in Git How to Remove Committed Files in GitThis tutorial demonstrates how to remove already commit files from Git using different command lines. How to Force Pull Overwrite in GitThis tutorial demonstrates how to force pull everything on every pull using various commands in Git How to Set Up Git RemoteSet up git remote for tracking repositories How to Reset File to Be Same as Master Branch in GitThe article below explains the ways to revert files to the similar state as in master branch.