Answers for "how to add a repository from gitlab in a terminal"

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
2

how to push local code to gitlab

## Git push using SSH
git push --set-upstream [email protected]:namespace/nonexistent-project.git master

## Git push using HTTPS
git push --set-upstream https://gitlab.example.com/namespace/nonexistent-project.git master
Posted by: Guest on May-28-2021

Code answers related to "how to add a repository from gitlab in a terminal"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language