Answers for "push a new project to gitlab"

1

how to push code to gitlab

cd existing_repo
git init
git remote add origin https://gitlab.com/your_account_name/project_name.git
git branch -M main
git add .
git commit -m "Initial commit"
git push -uf origin main
Posted by: Guest on December-16-2021
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

gitlab push existing project commandlie

git config --global user.name "Roka Paudel,Sarmila S."
Posted by: Guest on November-15-2020

Code answers related to "push a new project to gitlab"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language