git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* not sure if this is appropriate -- GH/Github question
@ 2020-06-06 20:36 bruce
  2020-06-08 12:40 ` Derrick Stolee
  0 siblings, 1 reply; 2+ messages in thread
From: bruce @ 2020-06-06 20:36 UTC (permalink / raw)
  To: git

Testing the "create fork" process using the "GH" Github cli.

The test process is:
Trying to have a Github organization with a single test user "foo"

I create the Github org -- gets http://github.com/numinds

I create a test user "foo"

I have a test VM, with a test user "test"
For test, I create the ssh priv/pub key

On the test VM, I also install GH to use the cli
-I also have the following

cat /home/test/.config/gh/config.yml
hosts:
    github.com:
        oauth_token: 111111
        user: foo
editor: vi


I'm trying to fork the
 http://github.com/drupal/drupal   to be in the     http://github.com/numinds

I can do:
(in the /home/test/numinds dir)
  gh repo create drupal

This creates the http://github.com/numinds/drupal (blank/bare repo)
  as well as the /home/test/numinds/drupal cloned repo in the local dir

However, doing:
 gh repo fork https://github.com/drupal/drupal numinds/drupal

Doesn't work as I'd like it to:
I'm trying to have the drupal repo be http://github.com/numinds/drupal <<<

Instead, it creates the drupal repo in/under the "foo" user >>>> doing
somethig wrong!

It generates the repo as:
  https://github.com/t-smith1/drupal


Any pointers/clues on what I'm missing.

I have the latest version of GH v0.9.0

I have everything I can possibly view in the "member_privileges" page checked!
  https://github.com/organizations/numinds/settings/member_privileges

Thoughts/Pointers on this.

Thanks

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: not sure if this is appropriate -- GH/Github question
  2020-06-06 20:36 not sure if this is appropriate -- GH/Github question bruce
@ 2020-06-08 12:40 ` Derrick Stolee
  0 siblings, 0 replies; 2+ messages in thread
From: Derrick Stolee @ 2020-06-08 12:40 UTC (permalink / raw)
  To: bruce, git

On 6/6/2020 4:36 PM, bruce wrote:
> Testing the "create fork" process using the "GH" Github cli.

You are correct, this is not the appropriate place. GitHub and
Git are two different things. The most concise description I've
seen is the following from StackOverflow [1]:

> Git is a revision control system, a tool to manage your
> source code history.
> 
> GitHub is a hosting service for Git repositories.
> 
> So they are not the same thing: Git is the tool, GitHub is
> a service for projects that use Git.

(Note: I edited "the service" with "a service".)

[1] https://stackoverflow.com/a/13321586/127088

Please create an issue at https://github.com/cli/cli instead
for issues related to the GH client.

Thanks,
-Stolee

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-06-08 12:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-06 20:36 not sure if this is appropriate -- GH/Github question bruce
2020-06-08 12:40 ` Derrick Stolee

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).