[Building Sakai] [Deploying Sakai] Clarification on Github process

Neal Caidin neal.caidin at apereo.org
Thu Feb 19 12:20:50 PST 2015


That sounds like a really useful piece of information Stuart.

Perhaps add it as a comment on :
https://confluence.sakaiproject.org/display/SAKDEV/Git+Setup
?

Thanks,
Neal


On Thu, Feb 19, 2015 at 2:59 PM, D. Stuart Freeman <
stuart.freeman at et.gatech.edu> wrote:

> In the event that you accidentally commit to master instead of a feature
> branch it's really easy to fix:
>
>   git branch SAK-XYZ # make a copy of what we've done so far in a branch
>   git reset --hard sakaiproject/master # match current branch to upstream
>   git checkout SAK-XYZ # resume work on feature branch
>
> On Thu, Feb 19, 2015 at 12:53:41PM -0500, Neal Caidin wrote:
> >    Hi All,
> >    Today on the Sakai core team call we discussed the Git/Github
> workflow.
> >    My understanding is that the team recommendation is:
> >        Create a Jira for your issue (feature, bug, etc), as always
> >        Create a branch
> >        branch name should use Jira id
> >        Work only in branch, not on the master
> >        no changes in master, ever.
> >        Master is "the branch you receive changes through for upstream
> repo"
> >    The Confluence page that reflects this process:
> >    [1]
> https://confluence.sakaiproject.org/display/PMC/Migrating+from+SVN+to+Git%3A+SVN+contrib+committers+-%3E+Git+authors
> >    I hope that is clear. Apparently things can get a little tricky if you
> >    commit to your master branch directly, as it is primarily intended as
> a
> >    way to keep up with the upstream master.
> >    Feel free to ask questions (which probably others will answer ;-) ).
> >    Thanks,
> >    Neal
> >
> > References
> >
> >    Visible links
> >    1.
> https://confluence.sakaiproject.org/display/PMC/Migrating+from+SVN+to+Git%3A+SVN+contrib+committers+-%3E+Git+authors
>
> > _______________________________________________
> > production mailing list
> > production at collab.sakaiproject.org
> > http://collab.sakaiproject.org/mailman/listinfo/production
> >
> > TO UNSUBSCRIBE: send email to
> production-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
>
>
> --
> D. Stuart Freeman
> Georgia Institute of Technology
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20150219/7c581b20/attachment.html 


More information about the sakai-dev mailing list