Adds Tracking path changes and Share & Update
This commit is contained in:
		
							parent
							
								
									15d4fc3cb3
								
							
						
					
					
						commit
						639e986b53
					
				
							
								
								
									
										22
									
								
								Readme.md
								
								
								
								
							
							
						
						
									
										22
									
								
								Readme.md
								
								
								
								
							|  | @ -13,6 +13,7 @@ | |||
|  | ||||
| 
 | ||||
| ## 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 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue