V
V
VzzzzZZ2018-11-03 09:42:22
git
VzzzzZZ, 2018-11-03 09:42:22

How to add new files to an existing GitHub repository?

Git entry level question.
There is a repository with my project my_Project
And there is a folder on my computer with the same project a few iterations later (files added, changes made to existing ones).
This folder is missing .git .
How can I make changes to the my_Project repository?
If you carry out the procedure git init - git add * - git commit-m "changes", then everything is indexed, committed as it should.
But what's next? How to point to a specific repository in order to pour changes into it?
I understand that the question deserves to be sent to the tutorials, but I did not find it at once.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2018-11-03
@VtzzzZZ

You need to extract the iteration from the github to another folder, set up a git repository there and then paste the changed files and commit the changes with a commit and upload back.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question