Moving Projects from Github Enterprise to Github

This is a quick and dirty guide to moving projects that are stored on your local machine in a github enterprise repo to a ‘regular’ github repo. It’s a little hacky, but it works.

Step 1: Create a new repo on github

You’ll want this repo to be on your github project site. Assuming you’re a GA student making a portfolio you might want to call your repo “my portfolio” or something similar.

Make sure to initialize the repo with a readme so you can clone it to your local machine immediately.

Step 2: Clone the repo to your local machine

Use the command line interface and the git clone command to clone it to your documents folder.

Step 3: Create the folder structure you want on your local machine

You should layout the repo however you want. Maybe a folder for each project. You can do this using the finder GUI or terminal, whichever you feel more comfortable with.

Step 4: Move your cleaned jupyter notebooks into the repo folders

You can click and drag the .ipynb files or pdf you want to the new cloned repo folder.

You may want to add a readme.md file that will display on the github page. You can include a description of each of the projects.

Step 5: Add, commit, and push the changes to your repo

Make sure you’re in your new repo folder

git add .

git commit -m “Message here”

git push

Now double check your github site to make sure your new folders and notebook were pushed.

Show your support

Clapping shows how much you appreciated Mark Mummert’s story.