Help Center/
CodeArts Repo/
FAQs/
Troubleshooting/
Message "syntax error near unexpected token `newline'" Is Displayed
Updated on 2023-09-06 GMT+08:00
Message "syntax error near unexpected token `newline'" Is Displayed
Symptom
The message syntax error near unexpected token `newline' is displayed after the git add command is executed.
Analysis
The command contains a diamond operator (<>).
Solution
Delete the diamond operator (<>) in the command, for example, git add README.md.
Parent topic: Troubleshooting
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot