Answers for "how to push code in gitlab in feature branch"

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 push origin $feature_name
Posted by: Guest on September-13-2021

Code answers related to "how to push code in gitlab in feature branch"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language