Linux: How to move all files from current directory to upper directory?
I have foo/bar/myfiles and I want foo/myfiles.
I was trying to git clone a repo into foo, but it made the name of the repo as a folder and put the files in there. I'm thinking of just cloning into the same directory as foo and then renaming it, but I'd rather find a solution to this problem.
I'm working on my server, so a solution for linux would be nice, but I do this a lot on my local machine, so if there's something that can be done for Windows as well, I'd appreciate it.