How do I use two github accounts in same computer? [duplicate] - github

This question already has answers here:
Multiple GitHub accounts on the same computer?
(36 answers)
Closed 1 year ago.
OS : Mac
I use my work github account and also my personal account. I need to switch between them and work on the company project as well as my mini-project (which needs to be pushed to my personal account).
How do I do that ? I use Vscode as editor.
I looked on to other related question and solution but everything seems too mixed up. And also SSH methods out there seems super confusing. Can I switch to my personal account and then back to my work repo without messing up my work repo (where lot other people work on).
How do I do this as easily ?
This link dint help me much : Multiple GitHub accounts on the same computer?

can't you log out and then sign into your other account?

Related

Any chance Github Copilot steals closed source code?

I am pretty sure the answer is "no" or we'd hear about it, but wanted to double-check. Does Github Copilot even send any local code to the backend?
Ideally, I'd want an AI autocompletion tool to share proprietary code within an organization, and only there.
All calculations of GitHub Copilot happen on their Servers, none on your local machine. And if you don't disable telemetry as explained in their FAQ your interaction with Copilot (accepting/rejecting Suggestions) might be used to improve copilot, even tho they say your code will not be used. All this Information can be found in the FAQ: https://github.com/features/copilot (bottom of the page)
There are other competitors to Copilot that offer what you are looking for. Especially AI Learning on proprietary Code for your organization. But I won't disclose any names here since it could be seen as advertisement.

Uploading source code for specific requirement in github

I have heard that, product based companies will look for what we have done outside of projects and also looking for the github profile.
In the meantime, I have created an automation application which addresses the specific requirement (Timesheet) in our organization. So, I thought of uploading this one too.
I have also done the screen cast and uploaded it to YouTube for adding in the profile (Resume).
This exact tool is not useful for all the people , but useful for the people in our organization, in which they can edit/contribute more.
Now I am having the question like, can I upload this kind of the code to GitHub?
Thanks.
Yes, you can.
Code on GitHub does not have to be useful to other people. You can push code there even if it is only useful to you or people in your organization.
You could also use a private repository if you do not want other people to see the code.
See: https://github.com/pricing

How to measure public interest in your github project? [duplicate]

This question already has answers here:
How to see count of project downloads on GitHub? [duplicate]
(3 answers)
Closed 9 years ago.
I've started a new project on github, and I wonder if there is a way to see if anyone downloads the code at all. I would imagine if anyone does then it would be a clone request, but I can't find a way to access that count. Absent forking and feature requests, I can't tell if there is any interest in project, and I have no idea if it's even worth keeping it on github at all. Anyone knows what to do?
I don't believe that this information is available.
Most of the interest metrics I've seen at GitHub revolve around the number of forks and stars a repository has. Of course, the number of commits and contributors are also useful.
UPD.: GitHub released traffic analytics https://github.com/blog/1672-introducing-github-traffic-analytics
There is a service that measures amount of traffic - https://bitdeli.com/ , of course it's not perfect, but might give you a picture.
You just need to add their embed code (image) in readme, take a look at example on my Magnific Popup repository (at the bottom of page).

How to remove(?) pending edits for departed users? [duplicate]

This question already has answers here:
How to undo another user's checkout in TFS via the GUI?
(4 answers)
how to delete a developers workspace
(3 answers)
Closed 8 years ago.
My TFS terminology usage is probably all wrong because I'm new to it.
I have taken over a project. Two other users worked on it before me. Now they have left the company.
Lots of files in our TFS repositories say they are being edited by the departed users. I am assured by one of these users that this is wrong and I can safely make TFS not think the files are being edited.
However, I don't know how to do this. I am the only developer here and I want to make TFS think that no files are being edited at all.
There are thousands of files so I need a way to do this to all of them at once.
Fixed by following this: https://stackoverflow.com/a/1690394/127434
I have to write more or else this answer will be converted to a comment and SO won't let me mark it as the answer.
I hope this is long enough now.

Migrate sourceforge tickets to GitHub issues [duplicate]

This question already has answers here:
Migrate from Sourceforge to Github
(4 answers)
Closed 9 years ago.
Does anyone know of any script/package that could automatically migrate tickets in sourceforge bug/feature request trackers to GitHub issues? It's possible to export the sourceforge tickets as XML, so I would imagine that it should be possible to write a script to automatically create the tickets in GitHub, so just wanted to check if something like this exists already?
Update: GitHub throttles requests through their old API, which my tool uses. https://github.com/cmungall/gosf2github uses the new API, and is probably what you want instead.
I've written a Python script to do this. It's at https://github.com/ttencate/sf2github.
Beware: Sunday afternoon software. Use at your own risk, etc. etc. Pull requests welcome!
The Python software foundation used sourceforge's xml to migrate its bug tracker to roundup, here are the scripts. For github you'd use a REST API or maybe something on top of that, though I didn't find a ready-made conversion script.