Skip to content

Instantly share code, notes, and snippets.

@philips
Last active December 14, 2015 16:08
Show Gist options
  • Save philips/5112495 to your computer and use it in GitHub Desktop.
Save philips/5112495 to your computer and use it in GitHub Desktop.
philips:update_engine/ (remove-return-from-void) $ repo upload .
Upload project src/platform/update_engine/ to remote branch refs/heads/master:
branch remove-return-from-void ( 1 commit, Thu Mar 7 10:17:13 2013 -0800):
4a5a0425 fix(udev_interface.h): remove return from voids
to gerrit.chromium.org/gerrit (y/N)? y
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
----------------------------------------------------------------------
[FAILED] src/platform/update_engine/ remove-return-from-void (Upload failed)
philips:update_engine/ (remove-return-from-void) $ ssh -p 29418 philips@gerrit.chromium.org
**** Welcome to Gerrit Code Review ****
Hi Brandon Philips, you have successfully connected over SSH.
Unfortunately, interactive shells are disabled.
To clone a hosted Git repository, use:
git clone ssh://philips@gerrit.chromium.org:29418/REPOSITORY_NAME.git
Connection to gerrit.chromium.org closed.
philips:update_engine/ (remove-return-from-void) $ cat .git/config
[core]
repositoryformatversion = 0
filemode = true
[remote "cros"]
url = https://git.chromium.org/git/chromiumos/platform/update_engine
review = gerrit.chromium.org/gerrit
projectname = chromiumos/platform/update_engine
fetch = +refs/heads/*:refs/remotes/cros/*
[branch "remove-return-from-void"]
remote = cros
merge = refs/heads/master
philips:update_engine/ (remove-return-from-void) $ pwd
/home/philips/trees/chromiumos/src/platform/update_engine
$ repo init
Your identity is: Brandon Philips <brandon@ifup.co>
If you want to change this, please re-run 'repo init' with --config-name
repo initialized in /home/philips/trees/chromiumos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment