About 992,000 results
Open links in new tab
  1. Error "'git' is not recognized as an internal or external command"

    700 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, …

  2. command line - git undo all uncommitted or unsaved changes

    2605 This will unstage all files you might have staged with git add: git reset This will revert all local uncommitted changes (should be executed in repo root): git checkout . You can also revert …

  3. How to add line break to 'git commit -m' from the command line?

    Feb 21, 2011 · I am using Git from the command line and am trying to add a line break to the commit message (using git commit -m "") without going into Vim. Is this possible?

  4. command line - How to close git commit editor? - Stack Overflow

    I just executed a command $ git commit and it opens a new editor. But I'm trying to close that new commit editor. How to do this? I'm using Git for Windows.

  5. How can I check out a remote Git branch? - Stack Overflow

    Nov 23, 2009 · Maybe useful to someone else: When I used the Atom editor UI to fetch and pull changes, it pulled changes on the "main" branch but did not create a local reference to the …

  6. How to show uncommitted changes in Git and some Git diffs in …

    Dec 17, 2019 · 665 How to show uncommitted changes in Git The command you are looking for is git diff. git diff - Show changes between commits, commit and working tree, etc

  7. How to specify the private SSH-key to use when executing shell …

    A rather unusual situation perhaps, but I want to specify a private SSH-key to use when executing a shell (git) command from the local computer. Basically like this: git clone …

  8. How do I log in using the Git terminal? - Stack Overflow

    git credential-manager reject would actually sign the user out, but it has since been changed to erase. Documentation about command line usage is available on the project's github page.

  9. git - How do I squash my last N commits together? - Stack Overflow

    Many answers are based on git rebase command, but in my experience it is somewhat complex and advanced for git-beginners. Let's say you want to squash last 3 commits.

  10. git - Create a tag in a GitHub repository - Stack Overflow

    Aug 14, 2013 · the Git command line, or GitHub's web interface. Creating tags from the command line To create a tag on your current branch, run this: git tag <tagname> If you want to include a …