---
title: "Discussion on \"git cheat-sheet\" | Hashnode"
description: "Discussion on \"git cheat-sheet\". Git Cheat-Sheet\nRepository creation:\nFrom existing directory:\ncd project_dir\ngit init\ngit add <dir><file1><file2> or  git add . to stage all the files\nFrom other repository :\ngit clone <git-hub repository url> \nCommit and Status:\ngit commit -m \"My me..."
url: "https://hashnode.com/posts/git-cheat-sheet/62dbf16d38759e6b4982a8b9"
---

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

Discussion

# [git cheat-sheet](https://gdr.hashnode.dev/git-cheat-sheet?utm_source=hashnode&utm_medium=feed)

Git Cheat-Sheet Repository creation: From existing directory: cd project\_dir git init git add <dir><file1><file2> or git add . to stage all the files From other repository : git clone <git-hub repository url> Commit and Status: git commit -m "My me...

Jul 23, 2022 · 1 min read · gdr.hashnode.dev  
Read the article

-   [#git](https://hashnode.com/tag/git)
-   [#ineuron](https://hashnode.com/tag/ineuron)

## Written by

[Gandharva R](https://hashnode.com/@GDR)

@GDR

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
