commit – POFTUT

Git – Ignore Files To Prevent 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 into the repository. For example, after running a python application pyc files are created as compiled python files. Committing them are unnecessary. Git Ignore File To ignore files the patterns … Read more

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. $ git log commit 877ab08a2c122c70326bb025530e48cb673c8505 Author: John Doe <jdoe@poftut.com> Date:   Sat Oct 8 04:23:46 2016 +0000    Version 4,Added LICENSE commit 22dc9ad592d5bc21412a246791a05abd42e72793 … Read more