Answers for "local repository"

45

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

what is local repository

Local Repository: 
Typically, on your computer 
-Our changes are done here consist of
Working Directory, index andHEAD
Posted by: Guest on January-28-2021

Code answers related to "local repository"

Browse Popular Code Answers by Language