---
title: "Discussion on \"Push your local directories to GitHub\" | Hashnode"
description: "Discussion on \"Push your local directories to GitHub\". Assuming you are ready with your project directory and wanted to push into your github repository.\n\n\nInitialize directory with git git init -b main\n\n\nAdd to staging and perform commitgit add . && git commit -m \"intitial Commit\"\n\n\nBut you are unable t..."
url: "https://hashnode.com/posts/push-your-local-directories-to-github/62ee94c2e3a3793580e00c49"
---

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

Discussion

# [Push your local directories to GitHub](https://jrnet.hashnode.dev/push-your-local-directories-to-github?utm_source=hashnode&utm_medium=feed)

Assuming you are ready with your project directory and wanted to push into your github repository. Initialize directory with git git init -b main Add to staging and perform commitgit add . && git commit -m "intitial Commit" But you are unable t...

Aug 6, 2022 · 2 min read · jrnet.hashnode.dev  
Updated Aug 10, 2022  
Read the article

-   [#git](https://hashnode.com/tag/git)
-   [#github](https://hashnode.com/tag/github)
-   [#maintenance](https://hashnode.com/tag/maintenance)
-   [#project-management](https://hashnode.com/tag/project-management)

## Written by

[Jagadesh Ronanki](https://hashnode.com/@JrNet)

@JrNet · Visakhapatnam, India

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

Blockchain Developer, Designer, Frontend Developer, Tech Blogger

Individual with a diverse skill set in the blockchain, frontend development and security and proficiency in Data Structures and Algorithms. Skilled in Java, Python programming. Adaptable to multiple technologies and platforms, with a passion for staying abreast of emerging trends and technologies.

## Responses 1

Markdown supported · ⌘↵ to post

[Vinathi](https://hashnode.com/@vinathi17)

[Aug 10, 2022](https://hashnode.com/posts/push-your-local-directories-to-github/62ee94c2e3a3793580e00c49/comment/62f39bcf8902bf81fe536b30)

Thank you 😸
