git Linux MAC OS X

git # move directory or file

Move or rename a file, a directory, or a symlink

# clone the repo
git clone <repo-url>
git mv <source_file_or_directory> <destination>
git status # will show the change details
git commit -am "comment_for_the_change"
git push # push changes to repo

Leave a Reply

Your email address will not be published.