Export or Download Source Control to local folder for a given Change set ID [duplicate] - .net-4.5

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
TFS Get Specific Version into separate folder
I have a change set ID and I want to download or export code from source control till the Change set Id. Can I use ''get this version'' or some other way to download the code to local folder without effect current work space or version in Source control ?
TFS 2012 &
User have full rights on TFS
Thanks in advance

Is it an option for you to create a new Workspace referencing a different folder, switch to new workspace and perform a Get Specific Version that matches your changeset id?

Related

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

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.

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).

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.

What's a good strategy for an open source project to not share production settings? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I'm currently looking to release an MVC / RavenDB as an open source repository mostly just to let people look around rather than as a full on project.
However I don't want certain production settings such as SMTP Server details and Connection Strings publicly exposed (but still under source control).
I'm looking for suggestions on how I should structure public and private repositories so that I can easily work on the project and have reasonably hassle free deployment.
Cheers
In cases similar to yours where I need to publish parts publicly and keep import data hidden, I usually very simply keep a branch only for production.
In your case, you could either make the dev branch where you publishing everything open source, clone it and receive some contributions from other people. Then have a production branch somewhere different. (heroku..)
You normally don't put those files under version control. Inside a company, say, you can put a template under version control and ask your developers to copy it into place and update as necessary. Like a config.ini.template file with
[smtp]
host = smtp.company.com
user = USERNAME # update this
pass = PASSWORD # and this
where it's clear that the developers need to update the credentials when they rename it to config.ini. The config.ini file should then be excluded from version control.
For an open source project I would probably not put any template under version control. I would still configure it so that the config.ini file is excluded from version control so that I can have my own config.ini file in my working copy without committing it by accident.
I find the above system much easier than putting the real config files under version control. Even if I can put it in a private branch of some sort, then it will require me to constantly merge with that branch and I'll have to be careful not to accidentally push the config file to another repository.

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.