I used to use Github pages to get a live demo for any finished project I pushed to GitHub and it was working properly and now it is not working every time I go to the repository setting and to pages I change the branch from none to main and the save button is not clickable on any new repository I have created recently I asked on the Github community and did not get any solution for this problem so, please help me solve this problem
enter image description here
enter image description here
Related
I have been following Joshua Flukes video on how to make a portfolio with github pages but when i committed everything it doesn't show up. My github repo is:
Davecarranza.github.io
Any idea what could be wrong?
You need to double-check your GitHub Pages publication source and, depending on said source, make sure you have committed in the right folder and pushed in the right branch.
Only then would you see anything in your project GitHub page site.
I keep forgetting how I can share some code snippet that I uploaded to GitHub when opening issues in a repo, or when I want to quickly show some flutter code to a friend or colleague.
Append its github gist hash to the url:
https://dartpad.dev/a1a1b1b1e3e19248699381cafe (this one is made up)
I'm having some issues with getting the proper page to display. I've looked up different answers and they don't seem to be working for me.
https://github.com/samus94/portfolio2.1
Please let me know what I've done wrong here.
It was displaying the readme before, and I think it still is.
First, You've posted a link to your GitHub repository, not your GitHub Page. The address for GitHub pages always looks like https://<yourname>.github.io/<reponame>.
To get this URL you can go into the settings for your repo and find the GitHub Pages section. Make sure you have GitHub Pages enabled, then look for the URL your site is published at.
Finally, GitHub Pages requires your repository have a very specific structure. It expects there to be an index.html file at the root of the repository. This means you have to either move everything in your /src directory to the root, or move the index.html and update the URLs to your javascript and CSS.
All of these requirements are outlined clearly in the GitHub Pages documentation.
Deploying static HTML + CSS + JS sites (NO jekyll) to Github Pages,
using Github Actions was harder than I though.
Theres is very few quality documentation about this specific topic, except this one:
Steps overview:
Setup a custom action in github
Push changes and the action executes automatically
Your page is deployed to github pages
One important thing: I had no need of changing any property in the yml; don't worry about customizations.
I am trying to open a github repository but it is showing only partly. The link to the repository is here. I opened it yesterday and it has been showed fully but I am trying to open it since morning and it is not rendering properly to me. I have checked my Internet connection and it is perfect. Any suggestions. I am in desperate need. Thanks in advance
the image shows that the repository is visible upto here.
What I am trying to do is, I have a project that I got from someone on GitHub a little while ago. I just created my own GitHub account and wanted to link this app to my GitHub account so that I can use repositories and commit and push, etc. However in this app in the Xcode project in source control where it shows the master and history etc. it shows the name of the person who created the app originally and gave it to me. What I would like to do is to be able to link it to my account also so that when I commit something, he can't see it on his GitHub. I have already created a new repository on GitHub and have tried it out with a test app that I just made and it says my name under the source control side panel. I am not sure where to add a new remote and delete his for this project. I want to be able to commit and have it all set up on my account, so that he can't see my commits, etc.
What I have been doing before setting up GitHub was constantly duplicating the Xcode project whenever I wanted to add a new feature or edit something. I'm hoping this will help cut that step out?
If having the original owner not see your new contributions to the code is important to you, then you could simply clone the new repository that you created on GitHub and copy the code from his repository into your new one manually.
If you do not mind your code being linked to his original code, you can fork the repository on GitHub and then clone it and begin working from there.
Doing either of these methods will give you the same situation that you had with your test app, your name and information will show up in xcode, and you will be able to make changes to the repos.