I cannot commit or save the new files and folders, instead there is option to add repository. How should I upload them in github desktop to an existing repository without adding another repository?
I need to upload files to my repository.
New contributor
user23463015 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1
From what I’ve read, I conclude that you’re not accounting for remote changes.
Let’s start with this:
git clone <git_url>
– take your local copy of the codegit checkout <branch_name>
– checkout to your working branchgit fetch --all
– update your branch information- Provide your changes with new folders or files
git add .
– select all your changesgit commit -m "<info_about_changes>"
– create a new commit with itgit push origin <branch_name>
– push it
1