title: Create Git Log using Gitlab CI
body: <p>We need to generate commit history file automatically when user commits code into git repository.</p>
  
  <p>It can be done using Jenkins, Gitlab Webhooks and Jenkins Git Changelog plugin. Also, it can be created using below git command.</p>
  
  <pre><code>$ git log --pretty=format:'At %ci, %cN committed %h : %s' --decorate --graph &gt;log.log
  </code></pre>
  
  <p>But, is there anyway we can generate commit history file using Gitlab CI/CD operations. The file can be saved in git repositry or local storage.</p>
  
  <p><strong>Sample Commit History File</strong></p>
  
  <pre><code>* At 2018-11-16 18:02:21, kRiZ committed 1714a95 : Commit 4
  * At 2018-11-15 16:06:06, kRiZ committed bab5c0c : Commit 3
  * At 2018-11-14 18:05:09, kRiZ committed b3c9d86 : Commit 2
  * At 2018-11-14 06:47:34, kRiZ committed 8e6ee30 : Add README.md
  </code></pre>