Posts

Showing posts with the label DEVOPS DAY 3

DEVOPS DAY 3

Image
> What we'll cover? Compare and verify Git changes Rename and Move file in Git Find commit or File History Exclude unwanted files in Git Delete file/files in Git Git stash Git Alias Git Complete Workflow Q&A > Compare and verify Git changes git diff                This command is used to compare the  files between working directory and staging area. git diff <file_name>     To compare the given file between working directory and staging area.      > Rename and Moving files in Git     Git keeps track of changes to files in the working directory of a repository by their name. When you move or rename a file, Git doesn’t see that a file was moved; it sees that there’s a file with a new filename, and the file with the old filename was deleted (even if the contents remain the same). git mv : This command is used to move the file to a new one. > File Commit H...