Answers for "add project to new git repository"

13

git push existing repo

cd existing_folder
git init
git remote add origin https://gitlab.com/abc.git
git add .
git commit -m "Initial commit"
git push -u origin master
Posted by: Guest on August-26-2020
30

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
Posted by: Guest on May-17-2020
-1

init step way to create repository git

git configuration
Posted by: Guest on July-12-2020

Code answers related to "add project to new git repository"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language