Why can't I push changes made to HTML local files?

Built a website and trying to push changes I made to my files locally. The file is in the main user folder of my laptop. Using this command scp -r ~/filepath root@ my changes don’t get pushed. Instead it runs through the same files over and over again until I have to close out terminal or my laptop dies. I’m working on a MacBook Pro using iTerm. No errors pop up it’ll just keep running through the same files over and over. Website is on a deadline so please advise!

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hello friend!

I must admit that I’ve not personally witnessed SCP looping like that. My first instinct is to ask if there is a symbolic link in the directory which might be followed and then causing a loop. I think addressing the reason for that is probably the most important one to start with.

Kind Regards, Jarland Platform Support Lead