commit – POFTUT

Tagged: commit


Git – Ignore Files To Prevent Commit

Git is used for a lot of different projects. These projects may provide different types of files. Some times some of those files should not be committed in to the repository. For example after running a python application pyc files are created as compiled python files. Committing them are unnesecary. Git Ignore File To ignore files the patterns should be defined in a files named .gitignore file. .gitignore file by default resides in the...


Git – Reviewing Changes

Git stores all commits as snapshots. We can commit limitless. If we can to review our commits we can use log command. Git Log We can simple list commits without any argument tot the log command.

As we see there are 3 commits for the whole history of the Git repository. log command provides commit hash which is used as identifier and a unique value. Author is the developer info like name and email...

Enjoy this blog? Please spread the word :)