Answers for "how to add new project in 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
-3

how to link a repo to a project on github

$ git init
Posted by: Guest on December-10-2019

Code answers related to "how to add new project in git"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language