Horje
how to create a repository Code Example
set up git repository
# New local repository
git init
git add .
git commit -m "Initial commit"

# New remote repository
# Create remote repository (likely on github), then:
git remote add origin https://github.com/username/new_repo #https
git remote add origin git@github.com:username/new_repo #ssh
# Now push
git push -u origin master
Source: kbroman.org
upload new repo to git
echo "# Can-I-Shop-2" >> README.md
git init
git add .
git commit -m "first commit"
git remote add origin https://github.com/username/projectname.git
git push -u origin master
                
create new repository on the command line
git init
git add README.MD
git commit -m "commit message"
git remote add origin git url_of_github_repo
git push origin master
create a new repository using command line
echo "# facebook-clone" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/sulaimanwebdev/facebook-clone.git
git push -u origin main
Source: github.com
create a new repository on the command line
echo "# Assignment-4" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/MinhajSiam/Assignment-4.git
git push -u origin main
Source: github.com
how to create a repository
echo "# my-desktop" >> README.md
git init
git add . 
git commit -m "first commit"
git branch -M main
git remote add origin git@github.com:yourcreatedgoeshere.git
git push -u origin main
Source: github.com




Shell

Related
The framework needs the following extension(s) installed and loaded: intl. at SYSTEMPATH\CodeIgniter.php:219 Code Example The framework needs the following extension(s) installed and loaded: intl. at SYSTEMPATH\CodeIgniter.php:219 Code Example
ubuntu install apache Code Example ubuntu install apache Code Example
how to edit etc/hosts linux error readonly e45 Code Example how to edit etc/hosts linux error readonly e45 Code Example
linux history unique commands Code Example linux history unique commands Code Example
install walc whatsapp ubuntu Code Example install walc whatsapp ubuntu Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9