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 Remove Uncommitted Changes in GitUndo uncommitted changes How to Reset and Restore in GitThis tutorial demonstrates the definition of Git Restore Command and the major difference between the git restore and git reset commands in Git. How to Rename Branch in GitThis tutorial demonstrates how to rename a local and remote branch in Git using different commands. How to Move Commit to Another Branch in GitThis tutorial demonstrates how to move recent commits to a new or already existing branches using various commands in git How to List All Remote Branches in GitThis tutorial demonstrates how to list all remote branches using different command in Git. How to Delete Git Local RepositoryThis tutorial demonstrates how to delete a local repository using various commands in Git. How to View Commit History of a File in GitThis tutorial is about viewing commit history of a file in Git How to Revert Back to a Previous Commit in the Repository in GitThis tutorial is about reverting back to a previous commit in the repository in Git How to Merge Branches Without Fast Forward in GitThis tutorial is about merging branches without fast forward in Git How to Rebase Local Branch When Pulling Changes From the Remote Repository Branch in GitThis tutorial is about rebasing the local branch when pulling changes from the remote repository branch in Git How to View List of Stash Entries in GitThis tutorial is about viewing the list of stash entries in Git. How to Undo a Commit Before Pushing Remote Repository in GitThis tutorial is about resetting a commit that has not been pushed to the remote repository in Git. How to Create Branch From Another Branch in GitThis tutorial will teach you how to create a branch from another branch in Git. How to Revert Merge Commit in GitThis tutorial demonstrates to revert a commit that is already pushed to a remote branch using a command line in Git How to Merge With Force Overwrite in GitThis tutorial demonstrates how to merge in Git with force overwrite using various commands. How to Switch Between Branches in GitThis tutorial is about switching between branches using git checkout and git switch in Git. How to Stash One File in GitThis tutorial demonstrates stashing one file out of many files that have been changed with Git through various commands. How to Undo Pushed Commits in Git With Reset and RevertWe show three methods to undo commits pushed into a remote repository with the use of the reset, revert, and checkout git commands. How to Show Information About Remote Repository in GitThis tutorial is about showing information about the remote repository in Git. How to Checkout Tag in GitThis tutorial demonstrates how to checkout latest tag in git using various commands. How to Add Git to PATH on WindowsThis article explains adding the git program to Windows path environment variable. How to Pull Master Into Branch in GitThis article explains how to pull all changes from master into the development branch in Git. How to Add Folder in GitThis tutorial introduces how to add a folder to the staged contents in Git. How to View Git ConfigurationThis tutorial demonstrates how to view Git configuration through various Git commands.