Skip to content
Drexel University College of Computing & Informatics Technology Services and Support

Importing to Gitlab from Github

Instructions on importing to Gitlab from Github

Instructions:

  1. git clone {github repo}
  2. cd git_cloned_directory
  3. vi .git/config
          Delete the stanza about [remote "origin"]
  4. Log into king.cs.drexel.edu
          Create a new project
          Note the command it tells you how to import and existing repo
  5. git remote add origin "{path from 4 on king}"
  6. git push --all
          This may only do one branch, I believe the command is something like git push -b "branch" to push other branches

Still stuck?

The CCI Commons help desk can walk you through it.

Mon–Fri
8am–9:30pm
Sat
9am–6pm
Sun
12pm–5pm

Need help?

The CCI Commons help desk can walk you through it.

Mon–Fri
8am–9:30pm
Sat
9am–6pm
Sun
12pm–5pm