Horje
set up git 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




Shell

Related
how to install react with typescript Code Example how to install react with typescript Code Example
vue js version check Code Example vue js version check Code Example
gyp error npm install Code Example gyp error npm install Code Example
Command 'ng' not found, but can be installed with: Code Example Command 'ng' not found, but can be installed with: Code Example
run a command x number of times linux Code Example run a command x number of times linux Code Example

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