Skip to content

Latest commit

 

History

History
14 lines (14 loc) · 401 Bytes

github.md

File metadata and controls

14 lines (14 loc) · 401 Bytes

create a new repository on the command line

echo "# <new-repo>" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/arashnm80/<new-repo>.git
git push -u origin main

create private fork of public repo

https://stackoverflow.com/questions/10065526/github-how-to-make-a-fork-of-public-repository-private