MIG Docs
  • Welcome to the Michigan Investment Group Docs
  • Environment Setup
    • Installing Git
    • Anaconda Installation
    • Creating Anaconda Environments
    • Getting Started with the MIG GitLab
  • What is Quant?
    • Why Quant?
    • Quant Roles
    • Quant Industry
      • Getting a Quant Internship/Job
  • Almost Everything Git
    • Setting up Git (EECS 280)
    • Learning Git from Head to Toe
  • MIG Platform
    • What is the MIG Platform
    • Installing Node.js & NPM
    • Node.js Download & Installation
  • Quick Links & Resources
    • MIG GitLab
    • Blankly Docs
    • Anaconda Download
    • Git Download
  • F21 Education Session Calendar
  • Sentiment Analysis
    • What is Sentiment Analysis?
    • Current State of Team
    • Getting Started with the Repo
Powered by GitBook
On this page

Was this helpful?

  1. Sentiment Analysis

Getting Started with the Repo

Clone the repo, create a new local branch immediately, push to a new remote branch, and create a pull request.

  1. git clone https://oauth2:{TOKEN}@gitlab.umich.edu/mig-quant-group/algorithms/sentiment/2021fall

    1. 'clone' means clone all the branches and histories of a repo

    2. TOKEN is a personal access token you need to create in GitLab

  2. git checkout -b {BRANCHNAME}

    1. You will start on the 'main' branch, which is important, so you should switch to a separate branch to make your edits. This creates a local branch (on your editor) that won't appear immediately on the GitLab

    2. Probably make your branch name the name of your social media platform

  3. git push -u origin {BRANCHNAME}

    1. GitLab is the remote, central repo. You need to push your local changes to the remote so they show up in GitLab and other people can see/get your changes

  4. Go to GitLab and create a Pull Request from your branch to main

    1. We want to make sure our main branch is stellar, so creating a pull request makes me review your changes and decide whether to merge them into main

  5. git pull

    1. Do this intermittently. This gets other people's changes to the repo. You only work on your own branch, so you shouldn't have conflicts

PreviousCurrent State of Team

Last updated 3 years ago

Was this helpful?