After cloning I would suggest to remove the .git folder because the moving command will move it also and every other file in the home directory will get check in the repo So
.git
ubuntu:~/environment $ git clone https://github.com/fadilxcoder/docker-env.git ubuntu:~/environment $ cd docker-env/ && rm -rf .git && cd .. ubuntu:~/environment $ mv docker-env/{*,.*} ./ ubuntu:~/environment $ rmdir docker-env/
Or even better to create an app folder and move inside first
ubuntu:~/environment $ mkdir app && cd app ubuntu:~/environment $ git clone https://github.com/fadilxcoder/docker-env.git ubuntu:~/environment $ mv docker-env/{*,.*} ./ ubuntu:~/environment $ rmdir docker-env/
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
After cloning I would suggest to remove the
.git
folder because the moving command will move it alsoand every other file in the home directory will get check in the repo
So
Or even better to create an app folder and move inside first