A
A
August Milovich2019-07-29 00:57:22
git
August Milovich, 2019-07-29 00:57:22

Everything up-to-date Git not working?

Hello! There is such a problem when I try to push files to github (there is an almost empty repository), the console gives me Everything up-to-date, which, as I understand from the translator, means that the repository has been updated to the latest version, but I don’t see commits on github. (After cloning, I was in a folder created by git - Creative ) Here's what I did:

git clone https://github.com/Selyie/Creative.git
git status
- On branch master
  Your branch is up to date with 'origin/master'.
git remote add Creative https://github.com/Selyie/Creative.git
git add *
( на git status длинный список моих файлов, которые я после клонирования вручную скопировал из другой папки )

git push Creative master
- Everything up-to-date

I don't understand what he wants from me. It seems like Creative is the name of the remote repository, so it should push there, but still nothing. Tell me what's wrong
UPD Good instruction here https://proglib.io/p/git-for-half-an-hour/

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
SagePtr, 2019-07-29
@CodeInMyHeart

git commit forgot to add changes to repository

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question