tagged [version-control]

How to get back to the latest commit after checking out a previous commit?

How to get back to the latest commit after checking out a previous commit? I sometimes check out some previous version of the code to examine or test. I have seen instructions on what to do if I wish ...

31 May at 15:55

Git - is it pull or rebase when working on branches with other people

Git - is it pull or rebase when working on branches with other people So if I'm using branches that are remote (tracked) branches, and I want to get the lastest, I'm still unclear if I should be doing...

10 Jul at 19:27

Which distributed version control system has the best GUI front-ends for Windows?

Which distributed version control system has the best GUI front-ends for Windows? At my workplace we are using CVS as the version control system. Since we are using Windows mostly, TortoiseCVS and Win...

11 Nov at 21:46

How does Git handle symbolic links?

How does Git handle symbolic links? If I have a file or directory that is a symbolic link and I commit it to a Git repository, what happens to it? I would assume that it leaves it as a symbolic link u...

27 Oct at 10:1

Source control for Visual Studio that doesn't require a server?

Source control for Visual Studio that doesn't require a server? Can anyone recommend a source control solution for Visual Studio? I am going to be the only person using it, I just need something to ba...

How do I rename a local Git branch?

How do I rename a local Git branch? How do I rename a local branch which has not yet been pushed to a remote repository? Related: - [Rename master branch for both local and remote Git repositories](ht...

25 Jul at 03:51

Git command to display HEAD commit id?

Git command to display HEAD commit id? What command can I use to print out the commit id of HEAD? This is what I'm doing by hand: But I need a script that can reliably pipe the output of some command ...

1 Apr at 02:46

Do I need to maintain ReSharper's dotsettings.user file in Source Control?

Do I need to maintain ReSharper's dotsettings.user file in Source Control? I noticed ReSharper has created a `dotsettings.user` in my Source folder. ![file.sln.dotSettings.user](https://i.stack.imgur....

22 Oct at 22:17

How can I make git accept a self signed certificate?

How can I make git accept a self signed certificate? Using Git, is there a way to tell it to accept a self signed certificate? I am using an https server to host a git server but for now the certifica...

14 Jul at 11:33

How to convert a normal Git repository to a bare one?

How to convert a normal Git repository to a bare one? How can I convert a 'normal' Git repository to a bare one? The main difference seems to be: - in the normal Git repository, you have a `.git` fold...

How do I merge another developer's branch into mine?

How do I merge another developer's branch into mine? I am relatively new to git. Our organization uses a [Fork & Pull Model](https://help.github.com/articles/using-pull-requests/) for managing changes...

20 Jul at 15:57

Remove a modified file from pull request

Remove a modified file from pull request I have 3 modified files (no new files) in a pull request at the moment. I would like to remove one of those files from the pull request, so that the pull reque...

4 Jun at 13:59

What is the Difference Between Mercurial and Git?

What is the Difference Between Mercurial and Git? I've been using git for some time now on Windows (with msysGit) and I like the idea of distributed source control. Just recently I've been looking at ...

FileVersionInfo and AssemblyInfo

FileVersionInfo and AssemblyInfo Given this snippet from Blah.dll's AssemblyInfo.cs: And then in a separate .exe: Other SO questions show ProductVersion being "correct",

how to reset develop branch to master

how to reset develop branch to master I have `develop` & `master` branches, my `develop` branch is messy now and i would like to reset it and make it as a copy of my `master`. i'm not sure if merging ...

26 Aug at 04:36

How to merge a branch into trunk?

How to merge a branch into trunk? I'm facing a peculiar problem with SVN `merge`. I want to merge from a dev branch to trunk. We have multiple dev branches cut off the trunk at the same time. I'm merg...

23 Jan at 20:15

Should I add the Visual Studio .suo and .user files to source control?

Should I add the Visual Studio .suo and .user files to source control? Visual Studio solutions contain two types of hidden user files. One is the solution `.suo` file which is a binary file. The other...

16 Feb at 18:26

How do I make a Git commit in the past?

How do I make a Git commit in the past? I'm converting everything over to Git for my own personal use and I found some old versions of a file already in the repository. How do I commit it to the histo...

What does "Git push non-fast-forward updates were rejected" mean?

What does "Git push non-fast-forward updates were rejected" mean? I'm using Git to manage my two computers and my development. I'm trying to commit changes to GitHub, and I got this error: > Failed to...

13 Feb at 12:38

Set up git to pull and push all branches

Set up git to pull and push all branches I'd like to push and pull all the branches by default, including the newly created ones. Is there a setting that I can define for it? Otherwise, when I add a n...

16 Dec at 13:18

How do I do an initial push to a remote repository with Git?

How do I do an initial push to a remote repository with Git? I've read through countless tutorials and I keep coming up short. Here's what I've got: - - [instructions](http://docs.webfaction.com/softw...

8 Dec at 10:35

How to add my current project to an already existing GitHub repository

How to add my current project to an already existing GitHub repository I'm very new to Git. I've been searching for an answer, but I couldn't find one. In my computer I have a project folder like this...

Version Numbers float, decimal or double

Version Numbers float, decimal or double I have a document management system where documents can have multiple versions. Each version is saved and users can view version history. What I would like to ...

.tfignore is not ignoring files

.tfignore is not ignoring files I have a .tfIgnore file like below whihc is already checked-in I would expect that everyfile which is match with `.autogen.cs` be ignored. But the problem is when files...

1 Mar at 16:43

Which c# project files should I version control?

Which c# project files should I version control? I have a project I'm looking to manually manage via perforce version control as I only have the Express edition. What I'm looking for is which files sh...

1 Mar at 17:42