When you make a private repo public, will the commits you made while it was private become public? - github

Currently I'm working in a private repo in Github, so the commits I make don't show up on my public profile.
Later, when the project is finished I will make the repo public.
Will the commits I made back when it was private then show up on my public profile with the correct dates?

I tried it myself, and yes, it does indeed make the past commits public.

Related

Make Github Repository private but want to show public message

I have a public repository in Github. Recently, I made it private to do major work on the project. However, I want to show a message such as "The project is under construction" so people can wait for major change. Now, after making the repo private, the URL tells "404 page not found..." How to show a public message or readme at the same time keeping the repo private. Thank you.
I would:
keep the repository public
change the README to indicate the project is under construction
create a separate private repository, based on the history of the public one
go on working on the private repository;
Once the major work is ready, I would push back to the public (frozen) repository.

Is it possible to do a private release from public repository in github?

I have a public github repo, I want to release some of my changes but don't want to make them public. Can anyone let me know Is it possible to do a private release from a public repository?
Thanks in advance.
No, if you want to make a release, and you do not have an enterprise or subscription with Github, you will have to make the repo public. Another option, although less efficient will be to make a copy of the repo public with less info than the original one. That's why I said less efficient.
We can't make release as private, but we can use the pre-release option provided by github. Something like below.

Making a private Git repository public automatically after a period of time

Does anyone know a way to automatically make a Github Repository Public after a certain number of days. I want to keep my Github repository private for a certain period of time post which it automatically becomes public. Is this even possible? Or should I have to manually make it public after that period of time?
GitHub doesn't provide a way to automatically change the visibility of a repository, but you can use an API call to change it automatically when you're ready. Or, if you prefer, you can change it manually.

How to delete Repositories contributed to on github?

I forked a project, pulled and pushed. My github account is showing this:
Is there a way to remove that from my profile?
I already deleted the repositories from my settings page.
As I was saying 3 years ago, your public activity is... public.
In this instance, you made a pull request which was accepted by the original repo you forked: that will remain part of your public record (even if your activity in the forked repo itself is gone, since you have deleted said fork).

Link private github repository to potential employer

I have some private github repos that contains the work that I am most proud of. I would like potential employers to see this code. Is it possible for me to give them a link to the private repository so they can view my work?
You could either:
create a private repo in bitbucket and push your project there, then send an invitation to employers' emails
add potential employers as collaborators to your private Github repo.
On the main repo's page, go to the "Settings" tab
On the nav links to the right, "Collaborators"
I'd recommend against zipping the project and sending them the whole thing, as they'd either not see the git history, or see your entire git configuration, depending on how you zip the folder... And I think seeing how a developer works with git is important in addition to seeing the code itself...
There are few option for you:
If you have private repositary on your machine, then public into bitbucket or github and making private repo.
If you have private repositary online you can invite them to the repositary and give them privilages that you want to.
Make latest backup of your repositary and send it to them.
Hope it helps.