Push git "Everything up-to-date" Data is not actually sent

8

I'm doing PUSH for a repository on gitlab.com. I get the return:

  

warning: redirecting to    link Everything   up-to-date

In my understanding It worked. In practice the changes are not sent. I saw other similar questions, and tried following the steps through git but I do not know technical terms I hope to find something for layman.

    
asked by anonymous 13.10.2017 / 16:09

1 answer

1

Make sure you're doing all the necessary steps

I see that you already have the repository properly configured, so if you have created new files, execute a git add

git add .

to add all files in the directory

or

git add <nome do arquivo>

to add a specific file. Then give commit

git commit -m 'algum comentario sobre o commit'

And only after that do you run push

git push origin master

or the specific branch you want to send to

git push origin <nome-do-branch>

In any case, it's always worth reading the simplified git manual :)

    
23.01.2018 / 20:23