Github Notes
Github Notes
Command Prompt
If you have a project inside a folder and you want to upload (push) it to a remote repository (e.g.,
GitHub, GitLab, or Bitbucket) using the command prompt (cmd in Windows or terminal in
Linux/macOS), follow these steps:
1. Prerequisites
Before proceeding, ensure you have:
✅ Git Installed – Download and install Git.
✅ GitHub (or GitLab, Bitbucket) Account – Create one if you don’t have it.
✅ A Remote Repository – You need a repository on GitHub (or another service).
Example:
cd C:\Users\YourUsername\Documents\MyProject
This will create a hidden .git folder, making the directory a Git repository.
🎯 Final Thoughts
By following these steps, you can successfully upload your project folder to a remote repository
using the command prompt. Let me know if you need help with any step! 🚀