hil-se / fds

DSCI-633: Foundations of Data Science https://github.com/hil-se/fds
MIT License
26 stars 10 forks source link

Assignment 0 corrected TA Github username #117

Open azhe825 opened 2 months ago

azhe825 commented 2 months ago

The Assignment 0 has been updated to include the correct TA Github username for this semester. For those of you who have started early on Assignment 0, please check the updated version and invite the correct TA to your private repository.

paulcraig commented 2 months ago

I am confused. When I get to this step in Assignment 0

Clone the DSCI-633 repo to your local machine.

Am I supposed to clone your repository to my local machine or my repository to my local machine?

Paul

azhe825 commented 2 months ago

You should

  1. Clone this repo to your local machine.
  2. Clone your private repo to your local machine.
  3. Copy everything from the local folder of this fds repo to the local folder of your private repo.
  4. Push changes of your private repo to the GitHub server.
  5. After all this, your private repo should look the same as the fds repo on the GitHub server.
paulcraig commented 2 months ago

I tried to follow your instructions, but received this error when I tried to complete step 4.

(base) pac8612@cos-chem2003:~/DSCI-633 $ git push git: 'credential-manager' is not a git command. See 'git --help'. Enumerating objects: 81, done. Counting objects: 100% (81/81), done. Delta compression using up to 12 threads Compressing objects: 100% (78/78), done. error: RPC failed; HTTP 400 curl 22 The requested URL returned error: 400 send-pack: unexpected disconnect while reading sideband packet Writing objects: 100% (79/79), 6.46 MiB | 6.05 MiB/s, done. Total 79 (delta 9), reused 0 (delta 0), pack-reused 0 fatal: the remote end hung up unexpectedly Everything up-to-date

azhe825 commented 2 months ago

Did you do git add and git commit before git push? Please refer to Assignment 0 for more detailed steps.

paulcraig commented 2 months ago

I did. I then searched for "error: RPC failed; HTTP 400 curl 22 The requested URL returned error: 400" and the stackoverflow response (https://stackoverflow.com/questions/62753648/rpc-failed-http-400-curl-22-the-requested-url-returned-error-400-bad-request) said it was an http buffer issue, so I followed the instructions there:

  1. git config http.postBuffer 524288000
  2. git pull && git push

It worked and my repository looks right now.

azhe825 commented 2 months ago

Glad you solved it!