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 Raspberry   git   javascript css python django drupal php apache mysql  MongoDB AWS data  ML AI