Answers for "how to initialize the local repository with git?"

30

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 [email protected]:username/new_repo #ssh
# Now push
git push -u origin master
Posted by: Guest on March-25-2020
0

initialize a local repository

git remote add origin [email protected]:username/new_repo 
git push -u origin master
Posted by: Guest on August-13-2021

Code answers related to "how to initialize the local repository with git?"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language