Horje
git init repo 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
git init
echo "# Nelson_Mandela_Tribute_page" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/{github username}/{git title}.git
git push -u origin main
Source: github.com
git init
cd /path/to/my/codebase
git init   
git add .    
git commit -m "my comment"   
init step way to create repository git
git configuration 




Shell

Related
logout of git cli Code Example logout of git cli Code Example
Ubuntu install rust Code Example Ubuntu install rust Code Example
rust install Code Example rust install Code Example
rust Code Example rust Code Example
download rust mac Code Example download rust mac Code Example

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