How to add existing project to gitlab

In this article let’s discuss about How to add existing project to gitlab. Let’s go through the following methods without any delay.

Method 1:

cd existing_folder
git init
git remote add origin url_git
git add .
git commit -m "Initial commit"
git push -u origin master

If you are facing any issues with the above approach then try the alternative that is given below. It may look similar by have a try!

Method 2 :

git config --global user.name "Roka Paudel,Sarmila S."

Hope the above solution works.

Realted Posts : Vim copy paste columns