Adds Tracking path changes and Share & Update

This commit is contained in:
vl4dd 2021-04-02 09:41:00 +02:00
parent 15d4fc3cb3
commit 639e986b53
1 changed files with 22 additions and 0 deletions

View File

@ -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