About 11,900,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 …

  2. 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 …

  3. 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 …

  4. 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, …

  5. 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.

  6. version control - How can I switch to another branch in Git?

    Dec 4, 2017 · Switching to another branch in Git. Straightforward answer, git-checkout - Switch branches or restore working tree files git fetch origin # <---- This will fetch the branch git …

  7. 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 …

  8. 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' …

  9. github - What version of Git do I have? - Stack Overflow

    Jan 1, 2019 · With git --version you can easily check the version. Type git in bash terminal for recheck does it really removed or not.

  10. How to retrieve a single file from a specific revision in Git?

    To further clarify, the above command is asking git to show two separate objects, a revision and a file. The accepted answer below, that uses a colon between the two items is asking for a …