Answers for "how to push new file 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 push to a new branch in gitlab

git commit -am "My feature is ready"
Posted by: Guest on September-13-2021

Code answers related to "how to push new file to gitlab"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language