Answer the question
In order to leave comments, you need to log in
Why are commits not saved in git?
Hello.
I use gitlab.com for version control.
git version 2.1.4
I can't make changes to the project.
'git status' shows correctly modified files since the last commit. That is, there is a connection with the project, version control works.
But after creating a new commit, it is not written to the master gitlab branch, there is no other branch.
$ git reflog
displays all the commits made earlier, but they are not on gitlab.com.
There are no errors when starting the commit.
Help me figure out what the problem is.
The sequence of my actions: I check the changes - I commit the
changes - I upload them to
gitlab
- (wisell is the name of the project)git status
git commit -am "Updata #1"
git push wisell master
I always made fixes in this way, now I can’t understand what my actions caused this problem.
Answer the question
In order to leave comments, you need to log in
And from the whole description it is not clear whether you are pushing or not.
Make the changes and show command by command (along with their output) how you push the changes to the server.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question