Answers for "which command will use to start (initialize) a new git repository?"

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

Code answers related to "which command will use to start (initialize) a new git repository?"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language