Skip to content

Instantly share code, notes, and snippets.

@justgage
Last active January 2, 2016 21:59
Show Gist options
  • Save justgage/8366816 to your computer and use it in GitHub Desktop.
Save justgage/8366816 to your computer and use it in GitHub Desktop.
How to use Git on BYU-I's servers

step 1: do the normal setup with git adding a SSH key to git NOTE: the ssh test they have will FAIL! This is ok.

step 2: make a repo (or use one you already have)

step 3: go to the repo and find the clone link FOR HTTPS.

step 4: add this to your ~/.bashrc (use emacs or vim to edit that file, add it if it doesn't exist) -> unset SSH_ASKPASS

step 5: Edit the link adding username@ to the in front of the github.com

        FROM: $ git clone https://         github.com/justgage/one-of-my-repos.git
        TO:   $ git clone https://justgage@github.com/justgage/one-of-my-repos.git

step 6: run that command.

step 7: enter your password for github

step 8: change something, add it, commit it, push it, and it should work! If it doesn't tell me. If you find somthing wrong with this instruction make a pull request or something.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment