D
D
DeeUs2018-04-02 16:37:51
git
DeeUs, 2018-04-02 16:37:51

Why changes made in files under git are not displayed on the site?

Hello!
I ran into a problem - the changes that I made in the files are not displayed on the site,
but they are saved in the repository (created a new project in phpstorm, cloned the repository - all changes are in place)
that's what givesgit status

execution result
# On branch master
# Changes to be committed:
#
#       deleted:    wp-content/plugins/really-simple-captcha/gentium/FONTLOG.txt
#       deleted:    wp-content/plugins/really-simple-captcha/gentium/GENTIUM-FAQ.txt
#       deleted:    wp-content/plugins/really-simple-captcha/gentium/GenBasB.ttf
#       deleted:    wp-content/plugins/really-simple-captcha/gentium/GenBasBI.ttf
#       deleted:    wp-content/plugins/really-simple-captcha/gentium/GenBasI.ttf
#       deleted:    wp-content/plugins/really-simple-captcha/gentium/GenBasR.ttf
#       deleted:    wp-content/plugins/really-simple-captcha/gentium/GenBkBasB.ttf
#       deleted:    wp-content/plugins/really-simple-captcha/gentium/GenBkBasBI.ttf
#       deleted:    wp-content/plugins/really-simple-captcha/gentium/GenBkBasI.ttf
#       deleted:    wp-content/plugins/really-simple-captcha/gentium/GenBkBasR.ttf
#       deleted:    wp-content/plugins/really-simple-captcha/gentium/OFL-FAQ.txt
#       deleted:    wp-content/plugins/really-simple-captcha/gentium/OFL.txt
#       deleted:    wp-content/plugins/really-simple-captcha/license.txt
#       deleted:    wp-content/plugins/really-simple-captcha/readme.txt
#       deleted:    wp-content/plugins/really-simple-captcha/really-simple-captcha.php
#       deleted:    wp-content/plugins/really-simple-captcha/tmp/index.php
#
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#
#       wp-content/uploads/wpcf7_captcha/


(список на самом деле больше, написал часть - для примера)
Почему так происходит, и как это исправить?
P.S.: с гитом только начал знакомится, поэтому заранее извиняюсь, если вопрос банальный

Answer the question

In order to leave comments, you need to log in

3 answer(s)
Александр Аксентьев, 2018-04-02
@Sanasol

изменения которые сделал в файлах не отображаются на сайте,

А git pull на сайте что говорит?

T
tema_sun, 2018-04-02
@tema_sun

You didn't push (git push) the changes to the repository and, accordingly, didn't do a git pull afterwards...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question