Store meta files in the repos.
Remove all the files if something exists in directory link place.
Commit meta files.