From 639e986b5307f653e3c306440b0ecdbabe220a6e Mon Sep 17 00:00:00 2001 From: vl4dd Date: Fri, 2 Apr 2021 09:41:00 +0200 Subject: [PATCH] Adds Tracking path changes and Share & Update --- Readme.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/Readme.md b/Readme.md index a7f6ad1..10e8eb5 100644 --- a/Readme.md +++ b/Readme.md @@ -13,6 +13,7 @@ ![Remote Execution](img/Remote_execution.png) ## Basic commands +================= ### Initialize an existing directory as a Git repository ```bash @@ -75,6 +76,27 @@ Date: Thu Apr 1 12:11:34 2021 +0200 First Commit ``` + +## TRACKING PATH CHANGES +### Versioning file removes and path changes +================================= + +Delete the file from project and stage the removal for commit + +>git rm [file] + +Change an existing file path and stage the move + +>git mv [existing-path] [new-path] + +Show all commit logs with indication of any paths that moved + +>git log --stat -M + +## SHARE & UPDATE +### Retrieving updates from another repository and updating local repos +================================= + ### History ```bash history