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

Posted July 18, 2018 1.7k views
GitLinux CommandsDevelopment

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!

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.

Submit an Answer
1 answer

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,
Platform Support Lead