Skip to content
This repository has been archived by the owner on Feb 5, 2018. It is now read-only.

one repo per student, not per homework #120

Open
rahuldave opened this issue Aug 13, 2015 · 1 comment
Open

one repo per student, not per homework #120

rahuldave opened this issue Aug 13, 2015 · 1 comment

Comments

@rahuldave
Copy link

First, it seems this already works, atleast if the student has not made any changes to their repo.

it will look like this:

Authenticating to GitHub...
Found organization at: https://api.github.com/orgs/teachers-pet-test
Adding remotes and pushing files to student repositories.
vkaynig --> [email protected]:teachers-pet-test/vkaynig-test1.git
fatal: remote vkaynig already exists.
Counting objects: 5, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (4/4), 350 bytes | 0 bytes/s, done.
Total 4 (delta 0), reused 0 (delta 0)
To [email protected]:teachers-pet-test/vkaynig-test1.git
   c2018fe..82f9d4c  master -> master

You can see the "fatal", but it does add the files for a new homework in.

Now, I dont want to have to pull every students changes in here to have to push new changes to their remotes. There wont be a merge conflict because, by convention, I want to keep a new homework in a new folder. Is this doable?

@mikehelmick
Copy link
Contributor

This is due to the way that git works. If the student's repo has advanced, you can not push to it without first doing a pull.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants