Skip to content

abdoali2000/TryMarkdown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

How to Create a Git Repository and Upload It to GitHub from scratch

1. Creat a new folder for your project

mkdir new-folde
cd new-folder

2. Initialize a Git Repository

git init

3. Make a README.md File

echo ' <text> ' > README.md

4. Add al file to the staging area

git add .

5. Make a commit with a message

git commit -am " <message> "

6. Create a new repository on GitHub:

  • Go to GitHub

  • Click New

  • Choose a name and click Create repository

7. Connect your local repository to GitHub:

git remote add origin https://github.com/your-username/your-repo-name.git

8. Push your code to GitHub

git push -u origin main

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors