Git Product home page Git Product logo

dsc-saving-illumidesk-work-to-github's Introduction

Saving Your Work from Illumidesk to Your GitHub Profile

Introduction

In this lesson you will learn how to save the work you are doing to your personal GitHub profile. This process should be done once the lesson has been completed. This will be done through creating a fork of the lesson, changing the origin that git pushes to, and pushing the changes using a terminal in Illumidesk. After following this process, your contributions graph will register your work.

"Earning green squares on your contribution graph means celebrating the work you do in open source and public projects. Starting today, you can also celebrate the work you do in private by sharing anonymized contributions from private repositories."- Sarah Vessels, The GitHub Blog

Learn more about how contributions are counted Here.

Objectives

You will be able to:

  • Change the origin your information is pushed to in GitHub
  • Save your work from Illumidesk to GitHub
  • Open a new terminal in Illumidesk
  • Earn credit for your work on your GitHub contribution graph

Fork the Repo from GitHub

  • Navigate to the lesson's repsitory from Canvas using the GitHub repository link

  • Click on the Fork link in that repository

  • This will create a forked copy in your GitHub profile

  • You will be taken to your new repository once the forking is complete

  • Copy the url for this repo to your clipboard for use after a few more steps

Open the lesson in Illumidesk

The next step of the process can mostly be done in a Jupyter Notebook, but it is a good opportunity to get familiar with command line operations or working in Terminal, so we will do this part in a terminal in Illumidesk

  • Open your Illumidesk control panel by clicking on the Control Panel button in the upper right corner of the notebook.

  • Click on the My Server button to access your Illumidesk files

  • Click the New drop down menu and choose Terminal and locate the command prompt
    • If you have not set up your github credentials in Illumidesk, you will need to run the following commands:
git config --global user.name "your github username here"
git config --global user.email "your github email here"

  • Navigate to the directory of the lesson using the cd command followed by the name of the repository which begins with dsc-:
cd <your lesson directory here>

Change the Origin URL for GitHub

  • Change the remote location that GitHub will push your work to using git remote set-url origin and the repo location you copied to your clipboard from the fork you created in the first steps of this lesson.
git remote set-url origin <your copied fork url here>

Stage and Commit Your Work

  • Now that you have set the origin to your forked repository, you can stage and commit your work.
git add .

git commit -m '<your message here>'

Push Your Work to GitHub

  • Now that you have staged and commited your work, you are ready to complete the task by pushing the changes to GitHub. The push command will prompt you to enter your GitHub username and password before your push can be completed.
git push

  • Enter your GitHub user name

  • Enter your password

  • If everything goes as planned, it should look something like this:

Summary

In this lesson, you were able to save the work you have done to your personal GitHub profile so you can begin showing activity on your GitHub profile. Below is a block containing all of the code used in this process:

cd <your directory here>
git remote set-url origin <your repository url here>
git add .
git commit -m '<your message here>'
git push

dsc-saving-illumidesk-work-to-github's People

Contributors

cheffrey2000 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.