publish_project
Publishes a local project as a new GitHub repository, handling git init, commit, remote creation, and push.
Instructions
Publish a local project as a new GitHub repository.
Initializes a git repository if needed, commits all files, creates the remote repository on GitHub and pushes the default branch.
Args: path: absolute path to the local project directory. repo_name: GitHub repository name (defaults to the folder name). description: short description for the new repository. private: whether the repository is private. commit_message: optional commit message for the initial commit. branch: default branch for new repositories.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| branch | No | main | |
| private | No | ||
| repo_name | No | ||
| description | No | ||
| commit_message | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||