add cloned gits to personal Gitlab

I own a Gitlab account. In a running repository I have cloned projects from github but on git add . they won’t be tracked. How do I add cloned projects to my Gitlab account?

git branch -vva

* master                c9ef011 [origin/master] te
  remotes/origin/master c9ef011 te

  • how do I find the git bin folder?
  • Failed to connect to repository : Error performing command: git.exe ls-remote -h https://github.com/szabbas/Sample-programs.git HEAD
  • Listing all commits in a branch using libgit2
  • Copying my local git repository directory should result in the same status message, right?
  • How to use eclipse project from github for Android development
  • How to get latest tag name?
  • Get github username by id
  • How to restore the aborted or interrupted “git clone”?
  • What's the best way to develop a library using composer?
  • TortoiseGit: “Stash POP Fail!!!” repeats, even after resolving conflict
  • Need to get the details of the modified files in GitPull method in cake script
  • Maven and Gitlab: release:prepare uses the wrong SCM URL
  • 2 Solutions collect form web for “add cloned gits to personal Gitlab”

    Once you initialize a project in GitLab, you’ll see a page like this:

    enter image description here

    The important part is adding the remote:

    git remote add gitlab git@mygitlaburl:namespace/myproject.git

    You’ll need to add your public key by clicking on Profile Settings > SSH Keys > Add SSH Key.

    Here are complete instructions: How To Use the GitLab User Interface To Manage Projects

    UPDATE:

    Your problem is explained here: Git repository within Git repository, which links to here: Nested GIT repo gotchas!

    A convenient option if you have many repos is to mass import:

    • go to the directory of a namespace (user or group), e.g. /home/git/repositories/username
    • get the bare repo: git clone --bare http://github.com/me/project. The created repo will end in .git and this is required.
    • run bundle exec rake gitlab:import:repos RAILS_ENV=production. The GitLab projects will get automatically created on the datbase for you under the user username.
    Git Baby is a git and github fan, let's start git clone.