Git Commands ( Part 02 ) (Create,Add,Check,Different)
Navigate to the "git folder" folder that we created earlier. now git inittell git to make it a repository. A repository is a storage area where a version control system stores old revisions of files and information about who changed what, when.
check modified file
Add all file in the directory and commit the change
check the commited file using the log
git diffShows file differences not yet staged
git diff --stagedShows file differences between staging and the last file version
suppose you have changed multiple file at a time.so now want to see difference between the version but now just a single file.
No comments:
Post a Comment