Answers for "push project to gitlab account"

1

push project to gitlab account

# 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
Posted by: Guest on June-22-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language