About 6,080,000 results
Open links in new tab
  1. Understanding git init - Stack Overflow

    Mar 8, 2017 · What is git init for exactly? Must I do it once per computer or once per project that uses git? I downloaded my project by git clone and got it working, but now it is storing my project also to C:/...

  2. What is the difference between "git init" and "git init --bare"?

    What is the different between git init and git init --bare? I found that a lot of blog post requires --bare for their Git server? From the man page, it said: --bare Create a bare repository. If GIT_DIR environment …

  3. Pull latest changes for all git submodules - Stack Overflow

    It does NOT pull the latest commits for each submodule. git submodule foreach git pull origin master or git pull origin master --recurse-submodules is what you want if you intend to update each submodule …

  4. How do you use "git --bare init" repository? - Stack Overflow

    Firstly, just to check, you need to change into the directory you've created before running git init --bare. Also, it's conventional to give bare repositories the extension .git. So you can do git init --bare …

  5. How can I create a Git repository with the default branch name other ...

    Mar 18, 2019 · Newer Git, New Repo Since git version 2.28.0 the git init command now takes a --initial-branch (or -b for short) parameter. These two commands create a new Git repo with a branch named …

  6. Git update submodules recursively - Stack Overflow

    In recent Git (I'm using v2.15.1), the following will merge upstream submodule changes into the submodules recursively: git submodule update --recursive --remote --merge You may add --init to …

  7. git - remote add origin vs remote set-url origin - Stack Overflow

    You can not call remote set-url origin just after git init, Because the git remote set-url command will not create origin, but it changes an existing remote repository URL.

  8. git - ERROR: Error cloning remote repo 'origin' - Stack Overflow

    May 11, 2016 · Tried with the configure option, not able to find the tools configuration option and the git executable section. Seems like it occurs after a successful build only. Please help. Here's the output I

  9. How do I do an initial push to a remote repository with Git?

    I like to run git push --set-upstream origin master instead of git push origin master the first time. This allows me to just type git push or git pull instead of git push origin master every time. Whatever fits …

  10. git - How to add a new project to Github using VS Code - Stack Overflow

    216 Navigate to the local project directory and create a local git repository: git init Once that is successful, click on the 'Source Control' icon on the left navbar in VS-Code.One should be able to …