About 8,980,000 results
Open links in new tab
  1. How can I find out what version of git I'm running?

    Dec 12, 2011 · I'm trying to follow some tutorials to learn how to use Git but some of the instructions are for specific versions. Is there a command that I can use find out what version I have installed?

  2. Error "'git' is not recognized as an internal or external command"

    I have an installation of Git for Windows, but when I try to use the git command in Command Prompt, I get the following error: 'git' is not recognized as an internal or external command, operable

  3. How to manage the version number in Git? - Stack Overflow

    adds a version tag of v1.5.0-beta to your current Git repository. Every new commit after this will auto-increment tag by appending commit number and commit hash.

  4. How to upgrade Git on Windows to the latest version

    To update to the latest version of Git and Git Bash, you can download and install the latest version of Git for Windows. As per this FAQ, settings/customizations should be preserved if they were installed in …

  5. How do I revert a Git repository to a previous commit?

    Nov 6, 2010 · git commit The git-revert manpage actually covers a lot of this in its description. Another useful link is this git-scm.com section discussing git-revert. If you decide you didn't want to revert …

  6. redhat - How to update git version on RHEL? - Stack Overflow

    Oct 3, 2022 · I just created a fresh RHEL VM on GCP to play some Kubernetes on it. It was not having any git installed on it. I used yum package manager to install git on it, but it didn't installed the latest v...

  7. version control - How do I force "git pull" to overwrite local files ...

    Jul 14, 2009 · How do I force an overwrite of local files on a git pull? My local repository contains a file of the same filename as on the server. error: Untracked working tree file 'example.txt' would be overw...

  8. How can I reset or revert a file to a specific revision?

    How can I revert a modified file to its previous revision at a specific commit hash (which I determined via git log and git diff)?

  9. git - How to revert to origin's master branch's version of file - Stack ...

    May 24, 2016 · I'm in my local computer's master branch of a cloned master-branch of a repo from a remote server. I updated a file, and I want to revert back to the original version from the remote …

  10. git - Go to a particular revision - Stack Overflow

    Sep 24, 2011 · Before executing this command, keep in mind that it will leave you in a detached head state. Use git checkout <sha1> to check out a particular commit. Where <sha1> is the commit unique …