Put Your Code in the Cloud
44%
Link Your Local Repo to GitLab
Back in your terminal, make sure you're in your project directory:
cd ~/my-calculator
Now add the GitLab repository as a remote. A remote is just a named URL that points to a repository on a server. The default name for the primary remote is origin:
git remote add origin git@gitlab.com:yourusername/my-calculator.git
Replace yourusername
Learn Git in a Day
Everything you need, nothing you don'tEnroll now to unlock all content and receive all future updates for free.
Unlock now $9.99$7.49Learn More
Hurry! This limited time offer ends in:
To redeem this offer, copy the coupon code below and apply it at checkout:
