Horje
git create new 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
how to initialize a git repository command line
# New local repository
git init
git add .
git commit -m "Initial commit"

# New remote repository
git remote add origin git@github.com:username/new_repo #ssh
# Now push
git push -u origin master
create a new repository on the command line
echo "# Codecademy.github.io" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/868-Anton/Codecademy.github.io.git
git push -u origin main
Source: github.com
git create new repo
echo "# TicTacToe" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/Sandox/TicTacToe.git
git push -u origin main
Source: github.com
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
git create new repository
git clone https://github.com/myname/myapp.git
cd myapp
touch README.md
git add README.md
git commit -m "adds README"
git push -u origin master




Shell

Related
run tar.xz ubuntu Code Example run tar.xz ubuntu Code Example
download a github folder Code Example download a github folder Code Example
run powershell script from wsl bash Code Example run powershell script from wsl bash Code Example
laravel 7 upgrade Code Example laravel 7 upgrade Code Example
bash print one line until match Code Example bash print one line until match Code Example

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