Author Topic: Github Pages - Struggling with the creation of a blog  (Read 2986 times)

0 Members and 1 Guest are viewing this topic.

Offline Akado

  • Hero Member
  • *****
  • Posts: 2752
    • View Profile
  • BitShares: akado
commits require a summary .. i think the description is optional

Thanks guys, hopefully it works!
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
commits require a summary .. i think the description is optional

Offline Akado

  • Hero Member
  • *****
  • Posts: 2752
    • View Profile
  • BitShares: akado
below your list of changed files.. there is a button called "commit to master" .. click it.. then click publish

the thing with git is that you have a local repository and you always commit stuff to your local repository and only synchronize your local repo with the online (github) repo ..

Oh I noticed it now. But it isn't "clickable" so to speak... I'll try it when I get home I dont have access atm but it doesnt look like I can click it, the colour is faded
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
below your list of changed files.. there is a button called "commit to master" .. click it.. then click publish

the thing with git is that you have a local repository and you always commit stuff to your local repository and only synchronize your local repo with the online (github) repo ..

Offline Akado

  • Hero Member
  • *****
  • Posts: 2752
    • View Profile
  • BitShares: akado
I'm talking about this screenshot: https://i.imgur.com/9mSX2FU.png -- click that button!

The "publish" or "master"? I'm really a noob at this  :o The Publish gives me an error "yncing would overwrite your uncommitted changes. Please commit or discard your changes and try again"
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline roadscape

I'm talking about this screenshot: https://i.imgur.com/9mSX2FU.png -- click that button!
http://cryptofresh.com  |  witness: roadscape

Offline Akado

  • Hero Member
  • *****
  • Posts: 2752
    • View Profile
  • BitShares: akado
Are you receiving the error when you click the "Commit to master" button? If not, then try clicking it :)

I dont see it on the app. Because if it's on github.com, first I need to upload my files there which I can't seem to do.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline roadscape

Are you receiving the error when you click the "Commit to master" button? If not, then try clicking it :)
http://cryptofresh.com  |  witness: roadscape

Offline Akado

  • Hero Member
  • *****
  • Posts: 2752
    • View Profile
  • BitShares: akado
So I discovered I could create a blog on github with this

https://pages.github.com/

I started with one of the layouts they offered and prepared a post. However I just can't figure out how to upload all of my files. Using the github app on windows I get

"Syncing would overwrite your uncommitted changes. Please commit or discard your changes and try again"

What's up with that? I created a repository with the same name as my username, etc but I can't sync the directory on my computed and upload it to github, or at least that's how I thought it would work. I thought he would just upload the changes.

I also tried to do this manually by "creating a file" on the website but I noticed I can't upload images, meaning I can only copy/paste code. I also have a folder with pics but can't create a folder within my repository.... I never used github btw. It might not be the best option for a blog but I thought it was as easy as me changing the html css and js and use the app to sync and publish the changes, making these appear on my repository and uploading my blog page (username.github.io). However I'm having a hard time doing this. Maybe on linux it would be easier for me but I only have windows at home.

I'm using the windows app but it seems it's just bad. It tells me to discard or commit changes but no option there, I need to use the console and I only know how to use the linux terminal, not the windows one. At first it looks very simple and smooth but then it looks like it doesnt have any support or options to do stuff. I thought it would replace the console.

Or maybe it's just me who just doesn't know how to use it too.

Here's a pic

https://i.imgur.com/9mSX2FU.png
https://i.imgur.com/vKPT7lD.png

btw the uncommitted changes is the readme file with one more string which is the name of the repository if im not mistaken. How do i commit that on the website or using the app? I'm not familiar with the windows console

I found out I could undo the commit but then it tells me I failed to syn this branch, I searched and i needed to do git status to see what was wrong, etc, but that way i need to use the windows console. Isn't there any other way? I could ask someone to do this for me but I dont want to bug someone each time I want to make a change.
« Last Edit: January 13, 2016, 02:15:30 am by Akado »
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads