Answers for "how to add a project to existing 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
0

how to add existing project to gitlab

cd existing_folder
git init
git remote add origin url_git
git add .
git commit -m "Initial commit"
git push -u origin master
Posted by: Guest on October-23-2020

Code answers related to "how to add a project to existing git repository"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language