pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/gitgitgadget/git/blob/master/Documentation/ToolsForGit.adoc

.githubassets.com/assets/global-a40b6ece39d70d4a.css" /> git/Documentation/ToolsForGit.adoc at master · gitgitgadget/git · GitHub
Skip to content

Latest commit

 

History

History
52 lines (38 loc) · 1.32 KB

File metadata and controls

52 lines (38 loc) · 1.32 KB

Tools for developing Git

Summary

This document gathers tips, scripts, and configuration files to help people working on Git’s codebase use their favorite tools while following Git’s coding style.

Author

The Git community.

Table of contents

Visual Studio Code (VS Code)

The contrib/vscode/init.sh script creates configuration files that enable several valuable VS Code features. See contrib/vscode/README.md for more information on using the script.

Emacs

This is adapted from Linux’s suggestion in its CodingStyle document:

  • To follow the rules in CodingGuidelines, it’s useful to put the following in GIT_CHECKOUT/.dir-locals.el, assuming you use cperl-mode:

;; note the first part is useful for C editing, too
((nil . ((indent-tabs-mode . t)
	 (tab-width . 8)
	 (fill-column . 80)))
	 (cperl-mode . ((cperl-indent-level . 8)
			(cperl-extra-newline-before-brace . nil)
			(cperl-merge-trailing-else . t))))

For a more complete setup, since Git’s codebase uses a coding style similar to the Linux kernel’s style, tips given in Linux’s CodingStyle document can be applied here too.

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy