On Thu, Nov 14, 2019 at 02:53:34AM -0800, Machiel Kolstein wrote:

> I am trying to learn how to use GitHub and I started with creating some 
> test repository (https://github.com/matxil/test_20191114). It only consists 
> of a README and a simpleCode.py file.
>
> Next, I cloned the repository to my computer ( git clone 
> https://github.com/matxil/test_20191114.git ) and then I made a change in 
> simpleCode.py. 
>
> Now, I want to commit/merge this change to the main branch, so I did "git 
> push"
[...]
> Git tells me: "Everything up-to-date". 
[...]

Did you `git add` your changes and `git commit`-ed them first?

`git push` operates on recorded commits, so if your local branch does
not contain any new commits compared to what the remote—receiving—branch
has, there's clearly nothing to push.

All in all, it's best to start with reading some introductory material
on the subject.  You may start with The Book [1].

1. https://git-scm.com/book/

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/git-users/20191114112258.v2os5tlrjsn4hd7t%40carbon.

Reply via email to