I cannot export my project to GitHub. It throws this error towards me- “We could not export your project to the Github repo R4356th/samplerailsapp. You don’t seem to have permission to write to this repo.” With my browser’s console, I found that Glitch sent an XHR to https://api.github.com/repos/R4356th/samplerailsapp/collaborators/R4356th/permission, which says that authentication is required which should make Glitch ask for authentication. My project is available here- https://glitch.com/~railsapp. // cc @glitch_support
Git is installed by default, maybe you can Push it from your Terrminal into your Project?
Thanks but then I would have to git clone my repo from GitHub.
You should still be able to push it.
You don’t need to.
Or you can create a new branch and push it into your repo, then make a Pull request.
git checkout -b nameofyourbranch
git add .
git commit -m “WIP - New Branch”
(You should get a message into the Terminal with the correct command. Yeah, I’m a lazy Dev I copy/paste a lot)
Glitch does not let me type my password!
Passwords don’t show up in the terminal.
Oh, I see.
I get this error now-
! [rejected] master -> master (fetch first)
error: failed to push some refs to 'https://github.com/R4356th/samplerailsapp.git'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
Create a branch first. See the commands above
You can force the changes
git push -f origin master
Thank you! This resolved the issue.
he he… I mean it works…