2003Aditya

Results 30 comments of 2003Aditya

Hey @babakks 👋 I looked through the code in this repo earlier today, and the issue appears to be due to incorrect escaping of arguments passed to `scp`. In [pkg/cmd/codespace/cp.go](https://github.com/cli/cli/blob/trunk/pkg/cmd/codespace/cp.go#L124),...

## Test Results I tested the behavior of `gh run download` with artifact` my-artifact` to verify if files are correctly downloaded and listed. Environment CLI build: from latest trunk OS:...

Hey @babakks 👋 I tested this behavior a few times and got the same result — attaching a screenshot below. It looks like `gh repo fork` reports “✓ Created fork...

@babakks sir, Just to add more context — I looked into the `forkRun()` function inside [`pkg/cmd/repo/fork/fork.go`](https://github.com/cli/cli/blob/trunk/pkg/cmd/repo/fork/fork.go), and I noticed that the cloning logic doesn’t have any check for an existing...

@babakks Thanks for the clarification and for explaining the performance considerations — that helped a lot in understanding what to look for. I explored both GraphQL and REST APIs to...

@babakks Thanks for pointing that out — that’s a really good edge case. I tested this locally and found something interesting: - I forked `octocat/Hello-World` using the latest `gh` binary....

Hey! @babakks 👋 I checked this query to see if we can detect whether the authenticated user already has a fork of a given repository — including renamed ones: ```...

Hey @babakks 👋 I tested this scenario using my second account, and it is possible to fork a fork. Here’s what I did: Forked `octocat/Hello-World` as `2003Aditya/hello-renamed` (from my main...

@babakks sir, I explored the challenge of detecting forks under an organization (not just a user) and tested it with a sample organization I created: `ZevFocustest`. Here’s what I did:...

> > So yes, GitHub allows users to fork an already forked repository. > > Yeah, GitHub does allow you to do that. I was wondering if you can have...