iMarket Digital Properties

0 %
iMarket Digital Properties Ltd
Design · Develop · Monetize · Support
  • Location:
    United Kingdom
  • City:
    London
  • Service Area:
    Global
Business Systems
Business Services
24/7 Support
Websites
Web Applications
E-commerce Solutions
Digital Platforms
Products & Services
Public & Private Networks

Using Git In Your Workflow With GitLab

January 4, 2018

Command line instructions

If you already have files you can push them using command line instructions below.

First, ssh into vagrant and use git commands insite ubuntu virtual machine.

Git global setup

git config --global user.name "Your Name"
git config --global user.email "[email protected]"

Create a new repository

git clone https://gitlab.com/username/repositoryname.git
cd chrispstreet
touch README.md
git add README.md
git commit -m "add README"
git push -u origin master

Existing folder

cd existing_folder
git init
git remote add origin https://gitlab.com/username/repositoryname.git
git add .
git commit
git push -u origin master

Existing Git repository

cd existing_repo
git remote add origin https://gitlab.com/username/repositoryname.git
git push -u origin --all
git push -u origin --tags
Posted in BlogTags:
Write a comment