Saving Commit Templates using Git Extensions

Introduction

Nowadays in projects, developers are using a common commit template for all commits in Git. This post provides the step by step details to save commit template in the Git Extension tool.

Commit template

The sample commit template will look as follows

[JiraId]: <Description>
[Link]:
[Versions]:
[ReviewedBy]: <PeerName>

Steps to save templates in Git Extensions

The following steps will demonstrate the steps to save the templates

  1. Commit the changes using Git Extensions toolsaving commit 1
  2. In the commit window, we are having the option called commit templates. By selecting settings option in commit templates dropdown we can add our templatessaving commit 2
  3. We can add various commit templates with appropriate provided optionssaving commit 3
  4. Once we added our templates, we can able to quickly select various templates as followssaving commit 4

saving commit 5

Cool 🙂 That’s it.

Happy coding!

YSlow’s Performance Analysis

YSlow, is an extension to Firebug, is available within Firefox. It generates a score for each rule and an overall score based on a weighted average of the individual rule scores. It also displays a list of all the resources used in the page as well as overall statistics (number of requests, total page weight, etc.).

The basic rules of YSlow’s Performance Analysis

  1. Minimize HTTP Requests
  2. Use a Content Delivery Network
  3. Avoid empty src or href
  4. Add an Expires or a Cache-Control Header
  5. Gzip Components
  6. Put StyleSheets at the Top
  7. Put Scripts at the Bottom
  8. Avoid CSS Expressions
  9. Make JavaScript and CSS External
  10. Reduce DNS Lookups
  11. Minify JavaScript and CSS
  12. Avoid Redirects
  13. Remove Duplicate Scripts
  14. Configure ETags
  15. Make AJAX Cacheable
  16. Use GET for AJAX Requests
  17. Reduce the Number of DOM Elements
  18. No 404s
  19. Reduce Cookie Size
  20. Use Cookie-Free Domains for Components
  21. Avoid Filters
  22. Do Not Scale Images in HTML
  23. Make favicon.ico Small and Cacheable