There is a git repository of the project FreePBX. Make a branch, make a clone of yourself, make changes in the source code, do the addition using the command:
$ git add [filename]
After doing komit:
Make a description of the changes made and then trying to upload changes to the server:
$ git push -u origin master
or anything else, but in any case you get the message: Everything up-to-date
Previously never seen, even do not know what could not be change.
That's actually what displays the command git status
On branch master
Your branch is up-to-date with 'origin/master'.
Changes to be committed:
(use "git reset HEAD <file>..." to unstage)
By the way, git diff
shows nothing, but git diff --cached
shows the changes. Everything seems as it should, but the changes are not unloaded.UPD:
The changes were uploaded to the server, only the lock change was done differently, using the command:
$ git commit-a
According to the idea, as far as I know, the option -a
allows to dispense with the commands git add,
the more it does not do anything special, but I still something to see, I've added the modified file.
As a result, the question remains open. What I did wrong, if the commit executed only with option -a
By the way, guys, I'm sorry for not believing everyone who said that I did not commit, I just don't believe because I thought I was doing the commit.