-
Notifications
You must be signed in to change notification settings - Fork 0
Restore README as a usable guide for the Ethereum EIPs upload-access error #20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Copilot
wants to merge
1
commit into
main
Choose a base branch
from
copilot/957ac70710b1b062d7648490043a5d06571626ca
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,117 @@ | ||
| https://github.com/Darliewithrow/master.git | ||
| # Fixing the "Uploads are disabled" Error for Ethereum EIPs | ||
|
|
||
| If GitHub shows **"Uploads are disabled. File uploads require push access to this repository."** while you are trying to contribute to [`ethereum/EIPs`](https://github.com/ethereum/EIPs), you are usually attempting to upload files directly to the main EIPs repository. | ||
|
|
||
| That repository only allows maintainers to push changes directly. Contributors should work from a **fork** and then open a **pull request**. | ||
|
|
||
| ## What the Error Means | ||
|
|
||
| The message does **not** mean you cannot contribute. It means: | ||
|
|
||
| - You do not have direct write access to `ethereum/EIPs` | ||
| - GitHub is blocking uploads to the upstream repository | ||
| - You need to submit your changes from your own fork instead | ||
|
|
||
| ## Recommended Workflow | ||
|
|
||
| Follow these steps to contribute the standard GitHub way. | ||
|
|
||
| ### 1. Fork the EIPs Repository | ||
|
|
||
| Open the [ethereum/EIPs repository](https://github.com/ethereum/EIPs) and select **Fork**. | ||
|
|
||
| Create a fork under your own GitHub account so you have permission to push changes there. | ||
|
|
||
| ### 2. Clone Your Fork | ||
|
|
||
| Clone **your fork**, not the upstream repository: | ||
|
|
||
| ```bash | ||
| git clone https://github.com/YOUR-USERNAME/EIPs.git | ||
| cd EIPs | ||
| ``` | ||
|
|
||
| Replace `YOUR-USERNAME` with your GitHub username. | ||
|
|
||
| ### 3. Add the Upstream Remote | ||
|
|
||
| Connect your local clone to the official EIPs repository so you can pull future updates: | ||
|
|
||
| ```bash | ||
| git remote add upstream https://github.com/ethereum/EIPs.git | ||
| git remote -v | ||
| ``` | ||
|
|
||
| After this, `origin` should point to your fork and `upstream` should point to `ethereum/EIPs`. | ||
|
|
||
| ### 4. Create a Branch for Your Change | ||
|
|
||
| Create a separate branch before editing files: | ||
|
|
||
| ```bash | ||
| git checkout -b your-eip-change | ||
| ``` | ||
|
|
||
| Use a short, descriptive branch name that matches your work. | ||
|
|
||
| ### 5. Make Your Changes and Commit Them | ||
|
|
||
| Edit the files you need, then commit your work: | ||
|
|
||
| ```bash | ||
| git add . | ||
| git commit -m "docs: describe your change" | ||
| ``` | ||
|
|
||
| Use a commit message that clearly explains what you changed. | ||
|
|
||
| ### 6. Push to Your Fork | ||
|
|
||
| Push your branch to GitHub: | ||
|
|
||
| ```bash | ||
| git push -u origin your-eip-change | ||
| ``` | ||
|
|
||
| Because this push goes to **your fork**, GitHub allows it even though you do not have write access to the upstream repository. | ||
|
|
||
| ### 7. Open a Pull Request | ||
|
|
||
| After the push completes: | ||
|
|
||
| 1. Open your fork on GitHub | ||
| 2. Select the prompt to create a pull request | ||
| 3. Confirm the base repository is `ethereum/EIPs` | ||
| 4. Submit your pull request for review | ||
|
|
||
| ## If You Already Cloned the Wrong Repository | ||
|
|
||
| If you cloned `https://github.com/ethereum/EIPs.git` directly and started working locally, you can usually fix it without losing your changes: | ||
|
|
||
| ```bash | ||
| git remote rename origin upstream | ||
| git remote add origin https://github.com/YOUR-USERNAME/EIPs.git | ||
| git push -u origin your-eip-change | ||
|
Darliewithrow marked this conversation as resolved.
|
||
| ``` | ||
|
|
||
| This keeps the official repository as `upstream` and makes your fork the new `origin`. | ||
|
|
||
| ## Troubleshooting Checklist | ||
|
|
||
| If you still see the upload error, confirm that: | ||
|
|
||
| - You are pushing to `https://github.com/YOUR-USERNAME/EIPs.git` | ||
|
Darliewithrow marked this conversation as resolved.
|
||
| - Your branch exists on your fork | ||
| - You are opening a pull request instead of uploading directly to `ethereum/EIPs` | ||
| - You are signed in to the GitHub account that owns the fork | ||
|
|
||
| ## Resources | ||
|
|
||
| - [ethereum/EIPs repository](https://github.com/ethereum/EIPs) | ||
| - [GitHub Docs: Fork a repository](https://docs.github.com/en/get-started/quickstart/fork-a-repo) | ||
| - [GitHub Docs: Creating a pull request from a fork](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request-from-a-fork) | ||
| - [GitHub Docs: Managing remote repositories](https://docs.github.com/en/get-started/git-basics/managing-remote-repositories) | ||
|
|
||
| ## Scope of This Repository | ||
|
|
||
| This repository is only a guide for the contribution workflow. It is **not** the place to submit actual EIP changes. For real proposals and edits, use the [`ethereum/EIPs`](https://github.com/ethereum/EIPs) repository. | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.