How to checkout an project from Git Lab?

Starting from scratch
To start using your repository from scratch, in your command line type the following:

git clone -o beanstalk
cd gitreponame
echo “This is my new project on Beanstalk.” > README
git add README
git commit -m “My first commit.”
git push beanstalk master

With the commands above, you will create a folder, add a file to it, make your first commit, and push the changes to your repository, to master branch. Master branch is the default branch to use for your files.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s