---
title: "Discussion on \"Write settings.json without granting git star main\" | Hashnode"
description: "Discussion on \"Write settings.json without granting git star main\". Write Claude Code settings that allow git commit and git log without a star before the subcommand. Restart with no 2.1.246 warning, and git push still asks."
url: "https://hashnode.com/posts/write-settings-json-without-granting-git-star-main/6a8e9ad73b543b2235076135"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Write settings.json without granting git star main](https://rizzdev.hashnode.dev/write-settings-json-without-granting-git-star-main?utm_source=hashnode&utm_medium=feed)

Write Claude Code settings that allow git commit and git log without a star before the subcommand. Restart with no 2.1.246 warning, and git push still asks.

Aug 26 · 9 min read · rizzdev.hashnode.dev  
Read the article

-   [#claude-code](https://hashnode.com/tag/claude-code)
-   [#ai-coding](https://hashnode.com/tag/ai-coding)
-   [#developer-tools](https://hashnode.com/tag/developer-tools)
-   [#cli](https://hashnode.com/tag/cli)
-   [#git](https://hashnode.com/tag/git)

## Written by

[Andrew](https://hashnode.com/@rizzdev)

@rizzdev

  
[View profile](https://hashnode.com/@rizzdev)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
