GIT move to another folder

Posted under » Version Control on 28 April 2022

One of the strength of GIT is that you can move a folder easily.

$ mkdir include
$ git mv common include/common

You don't even have to remove the 'common' folder or add the 'include/common' as the renaming is done automatically.

web security linux ubuntu python django git Raspberry apache mysql php drupal cake javascript css AWS IOT