Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Deploy - Atomic symlink operation #1110
There is a symlink operation splited into 2 commands: rm -rf and ln -s
So it should be implemented by one atomic command:
ln -s release_path tmp_path && mv -Tf tmp_path current_path
Thanks for your response.