Gitlab

From HyperSecurity Wiki
Jump to: navigation, search
git init
git remote add origin http://gitrepo:3000/maddog/laptop.git
git remote -v
git config user.email "Add Email Address Here"
git add .
git commit -m "Initial backup of configs"
git push -u origin master

Add new or update file:

git add makeInit

Commit a file:

git commit -m "Comment"

Push file to gitlab:

git push -u {branch}