Horje
git initialize 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
git init repo
git init
git add somefile
git commit -m "initial commit"
git remote add origin https://github.com/username/new_repo
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
initialize github repository
$git init
$git config --global user.email "your email"
$git config --global user.name "Your name"
$git remote add origin https://github.com/username/new_repo(Can be copied from github directly)
$git push -u origin master
Source: kbroman.org
git initialize repository
echo "# covid19-tracker-app" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/shubhamghimire/covid19-tracker-app.git
git push -u origin main
Source: github.com
init step way to create repository git
git configuration 




Shell

Related
chgrp command Code Example chgrp command Code Example
arch linux grub boot loader installed Code Example arch linux grub boot loader installed Code Example
how to undo git clean -fd command Code Example how to undo git clean -fd command Code Example
install npm packages on shared hosting Code Example install npm packages on shared hosting Code Example
git graph command Code Example git graph command Code Example

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