Skip to content
agentusehub

Have Copilot coding agent write and push code

A developer found the agent good at context and code, but it pushed to a branch leaving main empty and spent hours checking after being told to proceed.

Time saved
Not reported
Setup time
Not reported
Running cost
Not reported
Cost range
Not reported

Use case overview

A developer found the agent good at context and code, but it pushed to a branch leaving main empty and spent hours checking after being told to proceed.

Reported experience

  1. What they did

    This is a GitHub community feedback thread on the Copilot coding agent, not a single walkthrough. The original poster assigned issues to the agent and watched it work. A commenter, BaljeetCyber, told it to push finished code to the repo, then told it to proceed with full setup without asking again.

  2. How it went

    The original poster found the agent good at context and code, but its first PRs were weak without instructions, and it couldn't read attachments or org PR links. The commenter says it pushed to a branch, left main empty, then spent hours checking empty folders.

  3. Worth knowing

    Set up Copilot instructions before the first assignment, and paste attachment contents straight into the issue, since the agent couldn't read attached files.

Example prompts

Try with GitHub Copilot
In [owner/repo], implement [feature or task]. Work on a new branch named [branch-name], not main, and before pushing anything, show me the branch you'll push to and a summary of the changes. Once I approve, push and open a pull request, then stop and tell me what you pushed and where.
Software & DevOps

Port a Chrome extension to Safari

The author had ChatGPT take the Session Buddy extension source from Chrome, port it to Safari and install it, taking about 20 minutes.

ChatGPT