Skip to content

Conversation

@jelaniwoods
Copy link
Contributor

@jelaniwoods jelaniwoods commented Apr 2, 2021

Resolves #92

Problem

It turns out students are unable to push other branches besides master to GitHub. This is because with ruby-git you have to specify which branch to push, otherwise it will default to "master". Currently, web_git does not specify which branch to push. Since the default is "master" this also means that repos with only a "main" branch are impossible to push to GitHub.

Solution

This commit updates ruby-git and ensures that web_git pushes the current branch that the user is on.

Install gem and test locally

gem "web_git", git: "https://github.com/firstdraft/web_git", branch: "jw-update-ruby-git"

@raghubetina
Copy link
Contributor

LGTM 🚢

@jelaniwoods jelaniwoods merged commit d0fd85e into spring2020 Apr 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants