Horje
how to initialize a git repository command line 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




Shell

Related
rerun supervisor Code Example rerun supervisor Code Example
php enable extension lphp.ini Code Example php enable extension lphp.ini Code Example
sudo command without giving password Code Example sudo command without giving password Code Example
php extension php.ini Code Example php extension php.ini Code Example
unix print environment variable Code Example unix print environment variable Code Example

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