GitLab
GitLab
9/10
Rate it
What is GitLab?
GitLab is a single application for the entire software development lifecycle. From project planning and source code management to CI/CD, monitoring, and security.
Tags

Tips

Git global setup
git config --global user.name "Firstname Lastname"
git config --global user.email "your_email@example.com"
Push an existing folder
cd existing_folder
git init
git branch -M main  // if need change branch
git remote add origin git@gitlab.com:USER_NAME/PROJECT_NAME.git
git add .
git commit -m "Initial commit"
git push -u origin main
Create a new repository
git clone git@gitlab.com:USER_NAME/PROJECT_NAME.git
cd PROJECT_NAME
touch README.md
git add README.md
git commit -m "add README"
git push -u origin master
Push an existing Git repository
cd existing_repo
git remote rename origin old-origin
git remote add origin git@gitlab.com:USER_NAME/PROJECT_NAME.git
git push -u origin --all
git push -u origin --tags