Difference between revisions of "Gitlab"

From HyperSecurity Wiki
Jump to: navigation, search
 
Line 3: Line 3:
 
git remote add origin http://gitrepo:3000/maddog/laptop.git
 
git remote add origin http://gitrepo:3000/maddog/laptop.git
 
git remote -v
 
git remote -v
git config user.email "maddog187@ps2traders.com"
+
git config user.email "Add Email Address Here"
 
git add .
 
git add .
 
git commit -m "Initial backup of configs"
 
git commit -m "Initial backup of configs"

Latest revision as of 07:46, 16 October 2025

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}