Software & DevOpsDone with GitHub Copilot Aug 21, 2025
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.
- 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.
- 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.
- 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.
Try it yourself 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.
Do this with a skill.
These SkillShop playbooks do this exact job.