# Code output in git diff instead of full code

**URL:** <https://forum.cursor.com/t/code-output-in-git-diff-instead-of-full-code/6556>\
**Category:** Discussions\
**Created:** [July 18, 2024, 5:37pm UTC](https://forum.cursor.com/t/code-output-in-git-diff-instead-of-full-code/6556 "2024-07-18T17:37:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![xemberi](https://avatars.discourse-cdn.com/v4/letter/x/57b2e6/32.png) [@xemberi](https://forum.cursor.com/u/xemberi)\
**Post date:** [July 18, 2024, 5:37pm UTC](https://forum.cursor.com/t/code-output-in-git-diff-instead-of-full-code/6556/1 "2024-07-18T17:37:53Z")

</div>

Hi,

I was wondering, wouldn’t it be way quicker/less tokens when we would ask an LLM to reply in a git diff format, instead of in a ‘full code’ format? Then Cursor being able to handle the git diff reply would make it lightning fast. What are the thoughts of the team on this? Has it been tried?

---

<div class="post-metadata">

**Author:** ![litecode](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/litecode/32/2966_2.png) [@litecode](https://forum.cursor.com/u/litecode)\
**Post date:** [July 18, 2024, 10:09pm UTC](https://forum.cursor.com/t/code-output-in-git-diff-instead-of-full-code/6556/2 "2024-07-18T22:09:17Z")

</div>

Which feature are you using?

Ctrl K, L or I?

I’ve been [playing around with](https://forum.cursor.com/t/multi-file-edits-0-37-update/6425/24) `Ctrl` + `I` (’Composer’) a lot lately, and you can switch between viewing full code and diff mode.

The diff mode is visible both within the actual file and in the files’ suggested edits tabs.

---

<div class="post-metadata">

**Author:** ![xemberi](https://avatars.discourse-cdn.com/v4/letter/x/57b2e6/32.png) [@xemberi](https://forum.cursor.com/u/xemberi)\
**Post date:** [July 19, 2024, 10:23am UTC](https://forum.cursor.com/t/code-output-in-git-diff-instead-of-full-code/6556/3 "2024-07-19T10:23:53Z")

</div>

Ctrl K mainly. But it will just go over your code entirely (replacing it with the code it is receiving). A git diff just seems so much faster. I didnt know about Composer as I use my own API key, but will check it out.

For clarity: not looking for a git diff view, the asking the LLM for a reply in git diff format feels like it should be faster

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/127254_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [June 18, 2026, 10:13am UTC](https://forum.cursor.com/t/code-output-in-git-diff-instead-of-full-code/6556/4 "2026-06-18T10:13:52Z")

</div>

Closed on June 18, 2026, 10:13am UTC


