logging - Clear git log file -
i want clear git log files command git log returns nothing. possible? recommended?
______________________________ . \ | / . / / \ \ \ / / | | ========== - - warning! \____________________________\_/ / / \ \ ______________________________ \ | / | \ destroy / / \ \ \ / /. . repository! | | ========== - - \____________________________\_/ / / \ \ / ______________________________ / |\ | / . / / \ \ \ / / | | ========== - - - \____________________________\_/ / / \ \ . / | \ . git log displays change history of project. if want discard of history, could...
rm -rf .git git init ...but there relatively small number of situations makes sense.
there aren't "git log files" git uses produce output; iterating on database of objects form history of project. if delete .git directory this, there's no going back:
- you not able retrieve previous versions of files repository;
- you not able see how files have changed on time;
- you not able restore file have accidentally deleted.
Comments
Post a Comment