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

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?
newbiewebSr. Software EngineerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Julian HansenCommented:
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.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
newbiewebSr. Software EngineerAuthor 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.

Julian HansenCommented:
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.
Maximize Customer Retention with Superior Service

The IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more to help build customer satisfaction and retention.

newbiewebSr. Software EngineerAuthor Commented:
I like your advice. What kind of setup is that?
Julian HansenCommented:
That would be something like a plunker / fiddle.
newbiewebSr. Software EngineerAuthor Commented:
Both or just one?

And is that instead of a Git Repo?
newbiewebSr. Software EngineerAuthor Commented:
Julian HansenCommented:
Both or just one?
Just one
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Version Control

From novice to tech pro — start learning today.