-
Bug
-
Resolution: Unresolved
-
Highest
-
None
-
2.3.1
-
None
-
HCulver-MacBookPro2:xrepo hfc$ git config --list
core.excludesfile=~/.gitignore
core.legacyheaders=false
core.quotepath=false
core.pager=less -r
mergetool.keepbackup=true
push.default=simple
color.ui=auto
color.interactive=auto
repack.usedeltabaseoffset=true
alias.s=status
alias.a=!git add . && git status
alias.au=!git add -u . && git status
alias.aa=!git add . && git add -u . && git status
alias.c=commit
alias.cm=commit -m
alias.ca=commit --amend
alias.ac=!git add . && git commit
alias.acm=!git add . && git commit -m
alias.l=log -graph --all --pretty=format:'%C(yellow)%h%C(cyan)%d%Creset %s %C(white)%an, %ar%Creset'
alias.ll=log --stat --abbrev-commit
alias.lg=log --color --graph --pretty=format:'%C(bold white)%h%Creset -%C(bold green)%d%Creset %s %C(bold green)(%cr)%Creset %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
alias.llg=log --color --graph --pretty=format:'%C(bold white)%H %d%Creset%n%s%n%+b%C(bold blue)%an <%ae>%Creset %C(bold green)%cr (%ci)' --abbrev-commit
alias.d=diff
alias.master=checkout master
alias.spull=svn rebase
alias.spush=svn dcommit
alias.alias=!git config --list | grep 'alias\.' | sed 's/alias\.([^=])=(.)/\1\ => \2/' | sort
include.path=~/.gitcinclude
include.path=.githubconfig
include.path=.gitcredential
diff.exif.textconv=exif
core.excludesfile=/Users/hfc/.gitignore_global
difftool.sourcetree.cmd=opendiff "$LOCAL" "$REMOTE"
difftool.sourcetree.path=
mergetool.sourcetree.cmd=/Applications/SourceTree.app/Contents/Resources/opendiff-w.sh "$LOCAL" "$REMOTE" -ancestor "$BASE" -merge "$MERGED"
mergetool.sourcetree.trustexitcode=true
user.name=Henry Culver
user.email=henry.culver@gettectonic.com
credential.helper=gcloud.sh
commit.template=/Users/hfc/.stCommitMsg
gui.recentrepo=/GitRepos/xHFC/xrepo
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
core.ignorecase=true
core.precomposeunicode=true
credential.helper=gcloud.sh
remote.xhfc-remote.url=https://source.developers.google.com/p/acme-it-dev/r/xhfc
remote.xhfc-remote.fetch=+refs/heads/:refs/remotes/xhfc-remote/
user.name=Henry Culver
user.email=henry.culver@gettectonic.com
branch.master.remote=xhfc-remote
branch.master.merge=refs/heads/master
gui.wmstate=normal
gui.geometry=890x451+281+230 203 203
HCulver-MacBookPro2:xrepo hfc$HCulver-MacBookPro2:xrepo hfc$ git config --list core.excludesfile=~/.gitignore core.legacyheaders=false core.quotepath=false core.pager=less -r mergetool.keepbackup=true push.default=simple color.ui=auto color.interactive=auto repack.usedeltabaseoffset=true alias.s=status alias.a=!git add . && git status alias.au=!git add -u . && git status alias.aa=!git add . && git add -u . && git status alias.c=commit alias.cm=commit -m alias.ca=commit --amend alias.ac=!git add . && git commit alias.acm=!git add . && git commit -m alias.l=log - graph --all --pretty=format:'%C(yellow)%h%C(cyan)%d%Creset %s %C(white) %an, %ar%Creset' alias.ll=log --stat --abbrev-commit alias.lg=log --color --graph --pretty=format:'%C(bold white)%h%Creset -%C(bold green)%d%Creset %s %C(bold green)(%cr)%Creset %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative alias.llg=log --color --graph --pretty=format:'%C(bold white)%H %d%Creset%n%s%n%+b%C(bold blue)%an <%ae>%Creset %C(bold green)%cr (%ci)' --abbrev-commit alias.d=diff alias.master=checkout master alias.spull=svn rebase alias.spush=svn dcommit alias.alias=!git config --list | grep 'alias\.' | sed 's/alias\.( [^=] )=(. )/\1\ => \2/' | sort include.path=~/.gitcinclude include.path=.githubconfig include.path=.gitcredential diff.exif.textconv=exif core.excludesfile=/Users/hfc/.gitignore_global difftool.sourcetree.cmd=opendiff "$LOCAL" "$REMOTE" difftool.sourcetree.path= mergetool.sourcetree.cmd=/Applications/SourceTree.app/Contents/Resources/opendiff-w.sh "$LOCAL" "$REMOTE" -ancestor "$BASE" -merge "$MERGED" mergetool.sourcetree.trustexitcode=true user.name=Henry Culver user.email=henry.culver@gettectonic.com credential.helper=gcloud.sh commit.template=/Users/hfc/.stCommitMsg gui.recentrepo=/GitRepos/xHFC/xrepo core.repositoryformatversion=0 core.filemode=true core.bare=false core.logallrefupdates=true core.ignorecase=true core.precomposeunicode=true credential.helper=gcloud.sh remote.xhfc-remote.url= https://source.developers.google.com/p/acme-it-dev/r/xhfc remote.xhfc-remote.fetch=+refs/heads/ :refs/remotes/xhfc-remote/ user.name=Henry Culver user.email=henry.culver@gettectonic.com branch.master.remote=xhfc-remote branch.master.merge=refs/heads/master gui.wmstate=normal gui.geometry=890x451+281+230 203 203 HCulver-MacBookPro2:xrepo hfc$
-
Severity 2 - Major
On Mac OS X, I am not able to connect to Google Cloud Source Repository (GCSR). I am able to connect on Windows with SourceTree.
I get a prompt for username/password. This is not a feature of GCSR. The normal action is to set the credential.helper to look at a Google cloud SDK utility, as in:
$ git config credential.helper gcloud.sh
(This works for SourceTree on Windows, but not for Mac OS X)
Below is the error message received, after cancelling the prompt window for username/password.
(The credential.helper appears to be set to use "sourcetree")
git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree push -v --tags xhfc-remote refs/heads/master:refs/heads/master
Pushing to https://source.developers.google.com/p/acme-it-dev/r/xhfc
git: 'credential-gcloud.sh' is not a git command. See 'git --help'.
git: 'credential-gcloud.sh' is not a git command. See 'git --help'.
2016-09-30 15:15:20.966 git-credential-sourcetree[6123:83900] User cancelled username prompt.
fatal: could not read Username for 'https://source.developers.google.com': Device not configured
Completed with errors, see above
How do I resolve the problem on Mac OS X, so I can push/pull from a remote GCSR?