I am using Git ( GUI GitKraken) with cPanel.
In cPanel public_html/web I have git repository created using commands:
mkdir ~/web
cd web
git init
git config receive.denyCurrentBranch updateInstead
Now in my laptop, i cloned via GitKraken to www directory of xammp localhost server. Idea is to make changes in site locally and push those chnages to live site via Git.
Everything was working fine last night, but today remote server files are not updating(showing pushed changes). Git says its been pushed successfully to origin, but files are not updating.
Note: I have 3 branches in my Local Repo:
- master,
- version2. 1,
- version2. 2,
and i am pushing these to master branch of remote repo.