Home > other >  I get the following message when I want to publish what should I do?
I get the following message when I want to publish what should I do?

Time:08-12

I am having problems with publishing my changes made in my portal, the following error appears, can someone help me.

image error

CodePudding user response:

Your error says that the file was not staged to commit. To fix this issue you need to commit your files.

Command to do it is:

git add -A

After that your files will be staged and ready for commit

CodePudding user response:

seems like you are new to git

Step 1: if you make any changes in your git repository, you have to stage those changes before committing. so here you have modified Portal_Callao file, in order to stage those changes use command:

 git add Portal_Callao

or you can use

git add -A

to stage all your changed/modified files

step 2: now you are ready to commit your modified changes, for committing the changes use the command:

git commit -m "Your commit message"
  •  Tags:  
  • git
  • Related