Coder Social home page Coder Social logo

Comments (18)

Seneral avatar Seneral commented on May 20, 2024

I've followed a similar page about creating pages manually, and that did not mention an orphan branch but just said to clone the master and remove everything else from it and add the site related stuff.
I think the only difference is that now there's a link between them I suppose. Can I change that now that I already created the branch?
I'm not familar with the command line tool either so I would've needed to find a way to do that in the site UI or in source tree.

from node_editor_framework.

groud avatar groud commented on May 20, 2024

I dont think there is a possibility for doing this without deleting the branch.
If you dont mind, I can handle this :)

from node_editor_framework.

Seneral avatar Seneral commented on May 20, 2024

I did already delete it and now I can't create an orphan branch (in source tree I'm using the terminal):
screenshot11
This should be it, right? But neither on the gihub site nor in Source tree I can find that branch...

from node_editor_framework.

groud avatar groud commented on May 20, 2024

Awesome, i think you need to push the initial commit to see it into Github.

from node_editor_framework.

Seneral avatar Seneral commented on May 20, 2024

How if I can't see the branch? :(

from node_editor_framework.

groud avatar groud commented on May 20, 2024

Well, if you deleted the branch, you have to:

Create the new orphan branch:
git checkout --orohan gh-page
(You are now locally on the gh-page branch)

Delete all files on this branch:
git rm -rf .

Add all your documentation documents (index.html, ...), then:
git add ./*
and commit:
git commit -m "Initial commit"

Then finally, push the new branch:
git push origin gh-page

from node_editor_framework.

Seneral avatar Seneral commented on May 20, 2024

Tried that too but the only message I got was
screenshot12
Note I'm back on master

from node_editor_framework.

groud avatar groud commented on May 20, 2024

You forgot the point :)
The point means "current directory"

Get back to gh-pages using:
git checkout gh-page
and then continue with the git rm -rf . command

from node_editor_framework.

Seneral avatar Seneral commented on May 20, 2024

Hm, ok got it working until the commit. After git push origin gh-pages He asked for the name, I entered it, then for the password, and even though I entered it nothing has showed up. nyway, after clicking enter I saw an error, when i tried to checkout gh-pages I saw another error:
screenshot13
Any idea?

from node_editor_framework.

groud avatar groud commented on May 20, 2024

Can you run :
git branch -l
and paste the result ?

from node_editor_framework.

Seneral avatar Seneral commented on May 20, 2024

only develop, master (current) and Unity Func feature

from node_editor_framework.

Seneral avatar Seneral commented on May 20, 2024

But I have a local push now how I named it in the console
It is targeted to the master branch though

from node_editor_framework.

groud avatar groud commented on May 20, 2024

I do not get whet you mean by "local push".
Can you get into the master branch and run
git status

from node_editor_framework.

Seneral avatar Seneral commented on May 20, 2024

I removed it and did everything all over again. Now I'm here:
cmdline-orphanbranchcreation
I would enter my name and then password, but this doesn't work (see screens above)

from node_editor_framework.

Seneral avatar Seneral commented on May 20, 2024

Ok I got it in SourceTree locally. But without entering the password I cannot put it in remote.

from node_editor_framework.

Seneral avatar Seneral commented on May 20, 2024

Finally! it is online! ;)
It did work this time after entering the password, he did push it to the remote repo.
http://baste-raingames.github.io/Node_Editor/

from node_editor_framework.

groud avatar groud commented on May 20, 2024

Yes sorry, I forgot one argument in the command line. I think:
git push -u origin gh-pages

Awesome !

from node_editor_framework.

Seneral avatar Seneral commented on May 20, 2024

It did work without, but somehow it didn't even create it locally I think. Anyways, time to move on. Thanks!

from node_editor_framework.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.