---
title: "Comment by Alexander Kogan on \"30+ Git Commands That I Frequently Use\" | Hashnode"
description: "Thank you for the article. I have an addition: git checkout . was &quot;replaced&quot; by git restore . . You can also use git restore --staged . to unstage fil"
url: "https://hashnode.com/posts/30-git-commands-that-i-frequently-use/5fae311d8f0a026553479751/comment/5fae9d8b08f9e538a0136d52"
---

[Discussion](https://hashnode.com/posts/30-git-commands-that-i-frequently-use/5fae311d8f0a026553479751)

Comment [30+ Git Commands That I Frequently Use](https://hashnode.com/posts/30-git-commands-that-i-frequently-use/5fae311d8f0a026553479751)

[Alexander Kogan](https://hashnode.com/@koryu)

[Nov 13, 2020](https://hashnode.com/posts/30-git-commands-that-i-frequently-use/5fae311d8f0a026553479751/comment/5fae9d8b08f9e538a0136d52)

Thank you for the article. I have an addition:

`git checkout .` was "replaced" by `git restore .`. You can also use `git restore --staged .` to unstage files.

You also repeated `git push --delete origin new-feature` both in the comment and the codeline. I think you want `-d` for the shorter version. (;

[Bhanu Teja Pachipulusu](https://hashnode.com/@pbteja1998)

[Nov 14, 2020](https://hashnode.com/posts/30-git-commands-that-i-frequently-use/5fae311d8f0a026553479751/comment/5fae9d8b08f9e538a0136d52#reply-5fb0109039a1f54636490786)

Hey, thanks for pointing these out. Will make these corrections.
