Unable to push new repository to GitHub #51405
Replies: 2 comments 2 replies
-
Did you actually make any commits? "Everything up-to-date" simply means that all commits on the local branch are already on the remote branch you're pushing to, so there's nothing to do. |
Beta Was this translation helpful? Give feedback.
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
I'm having trouble pushing my new repository to GitHub and would like to ask for help to solve this problem.
I created a new local repository on my machine and initialized Git inside it. Then, I copied the URL of the repository that was on GitHub and pasted it inside the new created repository using the
git remote add origin <url>
command. After that, I ran the git pull andgit checkout main
commands so that the files from the original remote repository appeared in my new local repository.However, the new repository simply isn't appearing on GitHub, as if it hasn't been sent. When I try to run the
git push origin main
command, I receive the "Everything up-to-date" message and the new repository isn't sent.I've already checked if I'm authenticated with my GitHub account on my local machine and if I have sufficient permissions to push to the remote repository. I've also checked if I'm using the correct URL of the remote repository.
Could someone help me understand what might be causing this problem and how I can solve it?
Thank you in advance for your help.
Beta Was this translation helpful? Give feedback.
All reactions