Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>In summary:</p> <pre><code>git config --local credential.https://git-server.myco.com.username bletcherous-name </code></pre> <p>Here's a shell transcript showing what this and other similar things do to the Git config file, so you can (as I prefer) just edit the config file directly.</p> <pre><code>localuser@localhost:~$ mkdir foo localuser@localhost:~$ cd foo localuser@localhost:~/foo$ git init Initialized empty Git repository in /home/localuser/foo/.git/ localuser@localhost:~/foo$ cat .git/config [core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true localuser@localhost:~/foo$ git remote add origin https://bletcherous-name@git-server.myco.com/git/my-repo.git localuser@localhost:~/foo$ cat .git/config [core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true [remote "origin"] url = https://bletcherous-name@git-server.myco.com/git/my-repo.git fetch = +refs/heads/*:refs/remotes/origin/* localuser@localhost:~/foo$ git remote rm origin localuser@localhost:~/foo$ git remote add origin https://git-server.myco.com/git/my-repo.git localuser@localhost:~/foo$ cat .git/config [core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true [remote "origin"] url = https://git-server.myco.com/git/my-repo.git fetch = +refs/heads/*:refs/remotes/origin/* localuser@localhost:~/foo$ git config --local credential.https://git-server.myco.com.username bletcherous-name localuser@localhost:~/foo$ cat .git/config [core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true [remote "origin"] url = https://git-server.myco.com/git/my-repo.git fetch = +refs/heads/*:refs/remotes/origin/* [credential "https://git-server.myco.com"] username = bletcherous-name localuser@localhost:~/foo$ </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload