git remote add origin gitlab
git remote add origin [email protected]:username/projectpath.git
git remote add origin gitlab
git remote add origin [email protected]:username/projectpath.git
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
gitlab add remote upstream
# First remove any existing hidden git folder in your project folder
# Initialize project in your folder
git init
# add your gitlab project as your remote origin
git remote add origin https://gitlab.com/your_account_name/project_name.git
# add all files in the folder
git add .
# commit changes
git commit -m "Initial commit"
# push your changes to the master branch
git push origin master
# Files should now be visible if you navigate to the address in your browser
https://gitlab.com/your_account_name/project_name
gitlab push existing project commandlie
git config --global user.name "Roka Paudel,Sarmila S."
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us