Git: Using a public site to publish my Angular Git Repo

curiouswebster
curiouswebster used Ask the Experts™
on
I hope to post a sample application which displays a problem I am having and need to find what aspects I need to create for this. It would mainly be for posts on EE but could be used to share my code for other purposes.

Can you suggest one?

I create a GitGub account and use Git to put the latest version of my site to GitHub.

What if two people want to make an alteration to the code I post there? When someone makes a change, is there a way to auto-fork the repo?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Most Valuable Expert 2017
Distinguished Expert 2018
Commented:
Sounds like you want the functionality that plunkr / jsfiddle provide.

One option is to do both - the Git repo for reference but create smaller plunkr / fiddle's to demonstrate specific issues / functionality. The latter  can be forked and experimented with leaving the original code base intact.

It also depends on what you want to achieve if you want to learn or you just want the project done.
curiouswebsterSoftware Engineer

Author

Commented:
> It also depends on what you want to achieve if you want to learn or you just want the project done.

I actually want both ;)

I think I will need to isolate the code down to the smallest working example which demonstrates the problem. That's why I created a GitHub that is not me real one. For that I use BitBucket.

I do want to let people easily make changes so I can see it working. Is there any problem with two EE Experts changing the code at the same time? Does an update attempt on jsfiddle automatically create a fork?

So, do I still need plunkr and jsfiddle? I can use both if there is a reason.

Thanks.
Most Valuable Expert 2017
Distinguished Expert 2018
Commented:
The main issue with GitHub for EE questions is that you are asking Experts to download and setup your app and get it working. That is likely to be a big deterrent - if you want to go that route you might want to combine it with a Gig or Live session.

If you want to get help (for points) in the threads then my advice would be to setup a ready to go environment that Experts can quickly hook into - that will get you the best response.
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

curiouswebsterSoftware Engineer

Author

Commented:
I like your advice. What kind of setup is that?
Most Valuable Expert 2017
Distinguished Expert 2018
Commented:
That would be something like a plunker / fiddle.
curiouswebsterSoftware Engineer

Author

Commented:
Both or just one?

And is that instead of a Git Repo?
curiouswebsterSoftware Engineer

Author

Commented:
thanks
Most Valuable Expert 2017
Distinguished Expert 2018

Commented:
Both or just one?
Just one

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial