Part06: Removing files and renaming files
Last blog we learned how to add files, today we are going to learn deleting and renaming files. All files below must be added to the repository.
Removing files:
Use git rm "file_path_you_want_to_delete"
Renaming and moving files in git
Use git mv "file_original_path_or_name" "file_new_path_or_name"
Commit the changes
Use the code without GPG:
git commit -a -s -m "message_for_commit"
Use GPG signed commit:
git commit -a -s -S -m "message_for_commit"
And You are all done!
Next Class is about updating with remote repo
back