A
A
Andrew2020-05-18 19:39:57
git
Andrew, 2020-05-18 19:39:57

New file to existing GitHub repo?

Good day, how can I add a new file to an existing GitHub repository?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
Lynn "Coffee Man", 2020-05-18
@Lynn

git add
git commit
git push
Seriously, read up on some Git basics. On the same github, for example

A
Abr_ya, 2020-05-18
@Abr_ya

git status - see what's happening there,
git add -A - add all changes
After that, you can see the difference by repeating git status.
If everything is as it should - commit, and if necessary to the remote - push.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question