---
title: "Comment by Marek Całus on \"Partial file staging with git\" | Hashnode"
description: "I also use Partial file staging, but only in the VSCode git gui :P I right-click on the code hunk and press &quot;stage/unstage selected ranges&quot;"
url: "https://hashnode.com/posts/partial-file-staging-with-git/5ffd8fd648ff837fd1863c6a/comment/5ffec9a8b00f7510ee9591e3"
---

[Discussion](https://hashnode.com/posts/partial-file-staging-with-git/5ffd8fd648ff837fd1863c6a)

Comment [Partial file staging with git](https://hashnode.com/posts/partial-file-staging-with-git/5ffd8fd648ff837fd1863c6a)

[Marek Całus](https://hashnode.com/@mcalus)

[Jan 13, 2021](https://hashnode.com/posts/partial-file-staging-with-git/5ffd8fd648ff837fd1863c6a/comment/5ffec9a8b00f7510ee9591e3)

I also use Partial file staging, but only in the VSCode git gui :P I right-click on the code hunk and press "stage/unstage selected ranges"

![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1610533276676/-Yw0ssurG.png)

[Kuba Ciechowski](https://hashnode.com/@kciechowski)

[Jan 13, 2021](https://hashnode.com/posts/partial-file-staging-with-git/5ffd8fd648ff837fd1863c6a/comment/5ffec9a8b00f7510ee9591e3#reply-5ffecdcbb00f7510ee95923a)

Can you edit hunk manually from a GUI? It would save me a lot of frustration :D

[Marek Całus](https://hashnode.com/@mcalus)

[Jan 14, 2021](https://hashnode.com/posts/partial-file-staging-with-git/5ffd8fd648ff837fd1863c6a/comment/5ffec9a8b00f7510ee9591e3#reply-60003b52b00f7510ee95a48c)

[Kuba Ciechowski](https://hashnode.com/@kciechowski) Sure I can: [loom.com/share/61d58a44670b42f5a2f25f98fd7d6bfd](https://www.loom.com/share/61d58a44670b42f5a2f25f98fd7d6bfd)

In the terms of using CLI vs GUI - I believe that everyone should know the basics of git CLI to be able to comfortably use it anywhere (for example your buddy's computer) and know basic concepts and language. After that, gui plugins like the one in the vs code just makes my job faster. I like to select files to commit and write a message in the gui, but push, list branches and checkout from the CLI - that's the fastest way for me. I also feel more comfortable with advanced things like interactive rebase and reflog in the CLI because i don't have to be afraid that the GUI will screw up something behind my back.

[Kuba Ciechowski](https://hashnode.com/@kciechowski)

[Jan 14, 2021](https://hashnode.com/posts/partial-file-staging-with-git/5ffd8fd648ff837fd1863c6a/comment/5ffec9a8b00f7510ee9591e3#reply-60004304b00f7510ee95a4d6)

[Marek Całus](https://hashnode.com/@mcalus) This looks nice! I am not able to do that in Rider. Have to dig deeper into GUI
