How do I delete a file in my GitHub repository? [duplicate] - github

This question already has answers here:
How to delete files in github using the web interface
(4 answers)
Closed 9 months ago.
How do I remove a file from my GitHub repository?
Here is a screenshot of the file in question

Click on it, then you'll see a delete icon on the right side of the code header.

Delete the file which you want by using your IDE and push it again to your target repository with a proper commit. This is the safe way, I know.

Related

Delete an issue on GitHub [duplicate]

This question already has answers here:
How to completely remove an issue from GitHub?
(11 answers)
Closed 4 years ago.
Is it possible to delete an issue on GitHub?
I have a personal repo and created an incorret issue. Now, I wanna delete this, but I don't found anything about this.
According to the official guide:
Navigate to the issue you want to delete. On the
right side bar, under "Notificatons", click Delete this
issue.
To confirm deletion, click Delete this
issue.
If it does not work for some reason, there is another beta feature to transfer an issue to another repository. (The button is right above the "Delete this issue" button)
Open a temporary repository (that you will delete in the end)
Go to the issue that you would like to delete and click on Transfer this issue (or ask the repo owner to do it).
Delete the throwaway repo where the issue was transferred. Or not.

Why did GitHub decide my (100% C) repository was 50% C++? [duplicate]

This question already has answers here:
GitHub changes repository to the wrong language
(14 answers)
Closed 5 years ago.
I have a GitHub repository that is C-only. After my latest commit, in which I modified preprocessor spacing in a header file, GitHub decided my repository was 50.2% C++. I clicked on the link to look at the C++ code and it showed my header file portable.h.
Why does GitHub think my repo is 50% C++? And more importantly, how can I change its mind?
I figured out how to fix it. I added a linguist override line to my .gitattributes file:
*.h linguist-language=C
I'm still not sure why GitHub decided the file was C++. If an answer is posted which solves that question, I'll accept it.
It might be related to the fact that C++ is a superset of C, it means any C project is also a C++ project.

Program for getting and uploading latest version of a project? [duplicate]

This question already has answers here:
How to use Git for Unity3D source control?
(18 answers)
Closed 5 years ago.
I am working with a team of friends on a couple Unity3D projects.
I was wondering if there is some kind of program we can use to upload a version of our project (example: "Game1 v1.0") and then either one of us can download that version, edit it, rename the version (example "Game1 v2.0") and then reupload the updated version with the program just adding or changing the edited files and not the whole project to save time.
I hope I was clear enough on my description.
Is there some kind of a program that can help me with this problem?
Always use Git or Mercurial when working on something (even if alone).
If you want a GUI frontend, use SourceTree and BitBucket for repos (GitHub offers only public repos for free).

Github personal page not updating with new commits [duplicate]

This question already has answers here:
GitHub pages are not updating
(47 answers)
Closed 7 years ago.
I have my personal website hosted on github username.github.io repo, weird thing is that after I pushed my new modifications to the repo, the page was still showing the content of my previous commit, but when I checked the content in that repo on github, it is the latest. Any idea what might be wrong. Some say it take a little while for the new content to show, but now it is almost 1 hour past.
Finally got the problem, it was due to one module failed build in my project, after fixing that it works successfully.

Hudson, triggers based on tagging in SVN [duplicate]

This question already has answers here:
Hudson: how do i use a parameterized build to do svn checkout and svn tag?
(2 answers)
Closed 3 years ago.
Is there a way or does anyone know of a plug-in that I can use so that my builds will be triggered by tagging in SVN? I have a down stream project that I want to only contain tagged versions of its up stream projects. So, if anyone knows of another possible solution to this problem, I would appreciate other suggestions.
Thanks!
Set up a regular project with an SCM trigger that points to the SVN tags directory.
This way, it will get triggered whenever a new tag is created.