I Need Help with GitHub and Moodle

I Need Help with GitHub and Moodle

Mary Evans -
回帖数:11

Its ages since I have done any coding using GITHUB and most of what I used to know seems to have got lost over time. Not to mention computer breakdowns. 

My GITHUB account is still active, and I have a new computer so wanting to get back into the swing of things again.

Any help would be most welcome.

Cheers

Mary

回复Mary Evans

Re: I Need Help with GitHub and Moodle

Rick Jerz -
Particularly helpful Moodlers的头像 Testers的头像
What is it that you are trying to do, with GITHUB, Mary?
回复Rick Jerz

Re: I Need Help with GitHub and Moodle

Gareth J Barnard -
Core developers的头像 Particularly helpful Moodlers的头像 Plugin developers的头像
Hi Mary,

GitHub is for remote storage of code using the Git configuration management system along with issue management etc. As Rick says, what are you trying to do?

I did search and find https://lab.github.com/githubtraining/introduction-to-github - I've never used but might be useful.

G
回复Gareth J Barnard

Re: I Need Help with GitHub and Moodle

Mary Evans -
Thanks Gareth,
I am just wanting to know how to set-up a terminal to get back to using GitHub in order to update my files and such that are on display in my GITHUB area.

That said I need to brush-up  on the terminology too as it’s ages since I last did any coding in Moodle Tracker.
Thanks for the link to the intro to github...which is probably where I need to start.
Cheers
Mary
回复Mary Evans

Re: I Need Help with GitHub and Moodle

Gareth J Barnard -
Core developers的头像 Particularly helpful Moodlers的头像 Plugin developers的头像

Hi Mary,

What about using a GUI?:

G

回复Gareth J Barnard

Re: I Need Help with GitHub and Moodle

Mary Evans -

Hi Gareth, 

Thanks for the links I'll check them out now and see how it works.

Cheers

Mary

回复Mary Evans

Re: I Need Help with GitHub and Moodle

Mary Evans -

Hi Gareth, 

I had forgotten that I had actually downloaded the GIT GUI but had not installed it, which I have now done and have learned a lot.Cheers

Mary

回复Rick Jerz

Re: I Need Help with GitHub and Moodle

Mary Evans -
Hi Rick,
I guess I need to relearn what I used to know.
Considering I have done a lot of fixes in Moodle Themes in Moodle 2.0 onwards over the years, but lost touch recently after my computer crashed ... well Windows 10 crashed and that was the breaking point for me, so I baught a Apple Mac Book Air which is cool...but not sure how to set up a terminal one uses when writing GIT commands.

I’ve got some old notes somewhere which I used to refer to but have mislaid them.
I need to search through the Moodle Docs for Developers.

Hope this makes sense...

Cheers
Mary
回复Mary Evans

Re: I Need Help with GitHub and Moodle

Visvanath Ratnaweera -
Particularly helpful Moodlers的头像 Translators的头像
This is how I took control of my sandbox repo on GitHub:
1. clone it (to your workstation)
2. do the editing
3. commit
4. push it (back to GitHub)

I assume you know the username and recovered the password through e-mail.

And also you ran
 
git config --global user.email "you@example.com"
git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

附件 github-control2.png
回复Visvanath Ratnaweera

Re: I Need Help with GitHub and Moodle

Mary Evans -
Hi Vizvanath,
Thanks for this, it is just what I need to re-learn.
I know my username and password but forgot how to set up the connection in order to use GIT again on a new system, having changed from Windows to Apple Mac.
What you have written has jogged my memory now, so thanks for that.
Cheers
Mary
回复Mary Evans

GitHub (and Git) for slow starters

Visvanath Ratnaweera -
Particularly helpful Moodlers的头像 Translators的头像
Hallo Mary

I knew it, because the same happened to me the other day. I work on a couple of Git repos _alone_. Coming from centralized versioning systems, CVS and SVN, it took me a long time to put Git in to productive use. For my private repos it doesn't make a big difference after all, except that I don't have to maintain a versioning server now.

I was just curious about Github. Again, for a couple of one-man projects I didn't expect anything big. On top of it, the name of its new owner (M$) still awakens bad memories! Well, not having to backup my repos is a convenience. But then i have a backup system for my other data, so this one is trivial.

But when it comes to collaboration the missing "server" in Git makes it cumbersome. GitHub takes over this role and even offers a GUI interface for a less-pain start. I found the "Git and GitHub for Poets" series vidoes on YouTube has separated these aspects nicely - if only the presenter was less agitated.

I took the liberty of changing the subject line, in case some slow starters want to exchange in this thread.
回复Visvanath Ratnaweera

Re: GitHub (and Git) for slow starters

Mary Evans -

Thanks for the pointer to Git & Git for Poets I need to see what that is all about. As for the GIT GUI I see Gareth has also mentioned this so I need to check that out too.

As for Changing the Subject Line that's OK by me as it makes better sense as others may find it very useful...I know I am.

Many thanks

Mary