Presentation is loading. Please wait.

Presentation is loading. Please wait.

Ernst Peter Tamminga Get started with GitHub XCESS expertise center b.v. Netherlands.

Similar presentations


Presentation on theme: "Ernst Peter Tamminga Get started with GitHub XCESS expertise center b.v. Netherlands."— Presentation transcript:

1 Ernst Peter Tamminga Get started with GitHub XCESS expertise center b.v. Netherlands

2 Get started with GitHub

3 Pull request

4 Objectives Put your module on GitHub – And share! Get YOUR copy of an existing module – Improve it – Give your improvement back Learn some Git terminology

5 Prerequisites Account on www.github.comwww.github.com Software – SourceTree (Open Source GitHub enhancement) – Visual Studio (or any code editor) Some source code (module, skin) – That you want to share

6 WHY? DNN = Open Source = Community = Contributing = Sharing

7 PUT YOUR MODULE ON GITHUB Use Git(Hub) as source control and source sharing

8 Who is already working with GIT(Hub)? And what do you do with that?

9 GitHub GitHub Repository “Orgin” Local Repository Clone Push Edit Stage Commit 11 22 33 44 Your disk

10 Put your module on GitHub 1.Create a repository on GitHub 2.Clone this repo to a folder on your local drive 3.Add all files from your module to that folder – Stage the (new) files to your local repo – Commit the changes to your local repo Push the commit to the GitHub repo

11 Put your module on GitHub

12

13 GET YOUR COPY OF AN EXISTING MODULE ON GITHUB Use Git(Hub) as source control and source sharing

14 GitHub GitHub Repository “Orgin” Local Repository Clone Push Edit Stage Commit 11 22 Your disk GitHub original repository Fork

15 Get your copy of a module 1.Fork the repository on GitHub 2.Do the usual things – Clone this repo to a folder on your local drive – Create a branch on your local repo – Make your changes: Edit, Stage, Commit – Push the commit to your GitHub repo

16 Get your copy of a module

17 GIVE IMPROVEMENTS BACK TO THE ORIGINAL MODULE OWNER Share your results

18 Give improvements back 1.Fork the repository on GitHub 2.Do the usual things – Clone this repo to a folder on your local drive – Create a branch on your local repo – Make your changes: Edit, Stage, Commit – Push the commit to your GitHub repo 3.Add the original repo as UpStream repo (once) and fetch the latest changes 4.Create a Pull request for the UpStream repo

19 GitHub Local Repository 33 Your disk GitHub repository “UpStream” UpStream 44 Pull Request GitHub Repository “Orgin”

20 Give improvements back

21

22 Submit changes for DNNPlatform Select or Create a JIRA issue Select or Create a JIRA issue Commit your changes (locally) Commit your changes (locally) Push the change to your origin Push the change to your origin Create Pull Request for the UpStream (DNNPlatform) Create Pull Request for the UpStream (DNNPlatform)

23 Git(Hub) terminology Repository (aka Repo) Fork Clone Stage Commit Push Pull request Origin UpStream

24 Goal reached?

25 I NEED SOME ASSISTANCE DNN = Open Source = Community = Contributing = Sharing DNN.Events DNN.FAQ DNN.Reports DNNSoftware.com


Download ppt "Ernst Peter Tamminga Get started with GitHub XCESS expertise center b.v. Netherlands."

Similar presentations


Ads by Google