About 10,100,000 results
Open links in new tab
  1. When doing a 'git push', what does '--set-upstream' do?

    Jun 2, 2023 · What does git --set-upstream do? I tried to understand it by reading the git manual, but I didn't quite get it.

  2. git help in Windows command prompt - Stack Overflow

    Apr 18, 2014 · The git help command on Windows (msysgit distribution) spawns web browser each time I run it. I tried git help -m which reports "No manual entry for ..." and git help -i which …

  3. git - fatal: The current branch master has no upstream branch

    May 1, 2014 · I'm trying to push one of my projects to github, and I keep getting this error: peeplesoft@jane3:~/846156 (master) $ git push fatal: The current branch master has no …

  4. git: 'remote-https' is not a git command? - Stack Overflow

    If you look for git-remote-https in your machine, you should find it located under somewhere like C:\Program Files\Git\mingw64\libexec\git-core. Add this directory to the Environmental variable …

  5. How can I avoid having to do "git branch --set-upstream", and …

    May 22, 2011 · It was tempting to say git branch --set-upstream origin/master, but that tells Git to arrange the local branch origin/master to integrate with the currently checked out branch, …

  6. How to configure git push to automatically set upstream without -u?

    Jul 25, 2013 · I want git push origin to automatically set the upstream reference when I push a locally-created branch for the first time. I know about git push -u, but I don't want to have to …

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

  8. What is `git restore` and how is it different from `git reset`?

    Sep 19, 2019 · The overlapping part (restore and reset) exists because git restore is new, and this kind of restore makes sense; probably, ideally, we should always use git restore here, instead …

  9. 'credential-manager' is not a git command - Stack Overflow

    Apr 20, 2022 · Thanks - unfortunately that doesn't seem to work (note the command doesn't give any output): $ git config --global credential.helper manager-core $ git pull git: 'credential …

  10. How can I switch to another branch in Git? - Stack Overflow

    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 …