uchicago-mobi / MPCS51030-2017-Winter-Forum

7 stars 0 forks source link

Having trouble uploading the folder to my repository #12

Closed Victoriatheeast closed 7 years ago

Victoriatheeast commented 7 years ago

Hey,

I am having trouble uploading the FoodTracker folder to my assignment 1 repository. After I committed and pushed back all the changes, the folder is empty as shown on my git hub page, but the playground works.

Thank you! Victoria

CocoCui commented 7 years ago

Xcode created a local repo. Just delete the .git folder in FoodTrack and push again.

cd FoodTracker
rm -rf .git
Victoriatheeast commented 7 years ago

Thank you! I tried, but still it was saying "everything up-to-date".

CocoCui commented 7 years ago

just try

cd repo
git add .
git commit -m "message"
git push -u origin master
Victoriatheeast commented 7 years ago

Well, I still got : Your branch is up-to-date with 'origin/master'. nothing to commit, working tree clean

CocoCui commented 7 years ago

Maybe remove the FoodTacker, git commit and push, and then add the FoodTracker back will work

Victoriatheeast commented 7 years ago

Finally it works. I ended up removing the submodules, and then add it back as folders, which is same thing as you mentioned before. Thank you!