public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
* Command line query for teams
@ 2025-12-04  5:10 Mark Boonie
  2025-12-04  8:34 ` Michiel Beijen
  2025-12-04 14:04 ` rsbecker
  0 siblings, 2 replies; 3+ messages in thread
From: Mark Boonie @ 2025-12-04  5:10 UTC (permalink / raw)
  To: git@vger•kernel.org

I'm a git very-newbie, still trying to find my way around, so I apologize if the answer to this question is somewhere obvious to everyone but me.  I'm looking for a command that will return the teams that I'm on.  Someone gave me the URL https://github.ibm.com/orgs/ztpf/teams?query=+members%3Ame, which gives me the information in a GUI, but I would like to get the information from the command line.  Any suggestions?

- mb

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

* Re: Command line query for teams
  2025-12-04  5:10 Command line query for teams Mark Boonie
@ 2025-12-04  8:34 ` Michiel Beijen
  2025-12-04 14:04 ` rsbecker
  1 sibling, 0 replies; 3+ messages in thread
From: Michiel Beijen @ 2025-12-04  8:34 UTC (permalink / raw)
  To: Mark Boonie; +Cc: git@vger•kernel.org

Hi Mark,

On Thursday, December 4th, 2025 at 06:10, Mark Boonie <boonie@us•ibm.com> wrote:

> I'm a git very-newbie, still trying to find my way around, so I apologize if the answer to this question is somewhere obvious to everyone but me. I'm looking for a command that will return the teams that I'm on. Someone gave me the URL https://github.ibm.com/orgs/ztpf/teams?query=+members%3Ame, which gives me the information in a GUI, but I would like to get the information from the command line. Any suggestions?

What you're looking for is not a git feature but a feature from GitHub. GitHub takes the git source control system and adds authentication, issues and pull requests and many more things 'on top'. GitHub has their own command line utility called 'gh' that you can install, see https://cli.github.com/

However it does not expose the info you're looking for directly. You can use it to request the teams in a given organization, and then you can request for each teams the members and check if you are in it.

I hope this helps,

--
Michiel

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

* RE: Command line query for teams
  2025-12-04  5:10 Command line query for teams Mark Boonie
  2025-12-04  8:34 ` Michiel Beijen
@ 2025-12-04 14:04 ` rsbecker
  1 sibling, 0 replies; 3+ messages in thread
From: rsbecker @ 2025-12-04 14:04 UTC (permalink / raw)
  To: 'Mark Boonie', git

On December 4, 2025 12:10 AM, Mark Boonie wrote:
>I'm a git very-newbie, still trying to find my way around, so I apologize
if the answer
>to this question is somewhere obvious to everyone but me.  I'm looking for
a
>command that will return the teams that I'm on.  Someone gave me the URL
>https://github.ibm.com/orgs/ztpf/teams?query=+members%3Ame, which gives
>me the information in a GUI, but I would like to get the information from
the
>command line.  Any suggestions?

Hi Mark,

This is probably a function of the upstream git implementation (GitHub,
BitBucket, GitLab, Azure). The function is likely done via a REST HTTPS API
and is not part of core git. You might want to check with the appropriate
documentation on those.

Regards,
Randall


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

end of thread, other threads:[~2025-12-04 14:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-04  5:10 Command line query for teams Mark Boonie
2025-12-04  8:34 ` Michiel Beijen
2025-12-04 14:04 ` rsbecker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox