tagged [version-control]

How can I push a local Git branch to a remote with a different name easily?

How can I push a local Git branch to a remote with a different name easily? I've been wondering if there's an easy way to push and pull a local branch with a remote branch with a different name withou...

How do you treat the deployment of configuration files on different systems in Subversion?

How do you treat the deployment of configuration files on different systems in Subversion? Subversion is a great way to update our web applications on our servers. With a simple `svn update` all chang...

25 Sep at 07:45

Is "non breaking change" a common term in revision control?

Is "non breaking change" a common term in revision control? Non breaking change is a term used to describe minor contributions which are supposed to not break anything and is abbreviated as NBC. Typic...

27 Apr at 13:59

How can I create a Git repository with the default branch name other than "master"?

How can I create a Git repository with the default branch name other than "master"? In the [Pro Git book](https://git-scm.com/book/en/v2/Git-Branching-Remote-Branches), it says > “origin” is not speci...

24 Jun at 09:30

Is every DDL SQL command reversible? [database version control]

Is every DDL SQL command reversible? [database version control] I want to setup a mechanism for tracking DB schema changes, such the one described in [this answer](https://stackoverflow.com/questions/...

23 May at 12:19

Why is distributed source control considered harder?

Why is distributed source control considered harder? It seems rather common (around here, at least) for people to recommend SVN to newcomers to source control because it's "easier" than one of the dis...

7 Oct at 13:8

Can I automatically increment the file build version when using Visual Studio?

Can I automatically increment the file build version when using Visual Studio? I was just wondering how I could increment the build (and version?) of my files using Visual Studio (2005). If I look up ...

CCNet: "Failing Tasks : FilteredSourceControl: CheckForModifications" error

CCNet: "Failing Tasks : FilteredSourceControl: CheckForModifications" error I've installed CCNet and now I'm trying to set up a link to our repository. When I visit the CCNet dashboard website the pro...

What is a tracking branch?

What is a tracking branch? Can someone explain a "tracking branch" as it applies to git? Here's the definition from [git-scm.com](https://git-scm.com/book/en/v2/Git-Branching-Remote-Branches): > A 'tr...

6 Jul at 02:8

Run git commands from a C# function

Run git commands from a C# function How can my C# code run git commands when it detects changes in tracked file? I am writing a VisualStudio/C# console project for this purpose. I am new to the the .N...

How can I get a list of Git branches, ordered by most recent commit?

How can I get a list of Git branches, ordered by most recent commit? I want to get a list of all the branches in a Git repository with the "freshest" branches at the top, where the "freshest" branch i...

10 Dec at 19:42

Can I use Team Explorer to merge changes between two branches after an initial baseless merge?

Can I use Team Explorer to merge changes between two branches after an initial baseless merge? My understanding of a baseless merge in TFS was that it was a one-time deal, and merges afterwards could ...

2 Jun at 15:44

git-upload-pack: command not found, when cloning remote Git repo

git-upload-pack: command not found, when cloning remote Git repo I have been using git to keep two copies of my project in sync, one is my local box, the other the test server. This is an issue which ...

22 Sep at 13:55

How to output git log with the first line only?

How to output git log with the first line only? I am trying to customize the format for `git log`. I want all commits to be shown in one line. Each line should only show the first line of the commit m...

How to manage Migrations in a project with multiple branches?

How to manage Migrations in a project with multiple branches? I have an ASP.NET MVC3 project that uses Entity Framework 4.3 with the code-first approach. I use Migrations to keep the database up-to-da...

Servicestack nuget versioning

Servicestack nuget versioning We started building different projects using servicestack v4 less than 3 months ago. We installed different package of servicestack at version 4.0.52 (servicestack.Common...

Undo a particular commit in Git that's been pushed to remote repos

Undo a particular commit in Git that's been pushed to remote repos What is the simplest way to undo a particular commit that is: - - Because if it is not the latest commit, doesn't work. And because i...

Git push: "fatal 'origin' does not appear to be a git repository - fatal Could not read from remote repository."

Git push: "fatal 'origin' does not appear to be a git repository - fatal Could not read from remote repository." I know similar questions have already been asked. But, I believe my issue is due to a m...

27 Aug at 00:3

What does "Changes not staged for commit" mean

What does "Changes not staged for commit" mean I thought if you want to track the files you should `git add [files you want to track]` I don't know why I got the messages `Changes not staged for commi...

How can I put a database under git (version control)?

How can I put a database under git (version control)? I'm doing a web app, and I need to make a branch for some major changes, the thing is, these changes require changes to the database schema, so I'...

Correctly ignore all files recursively under a specific folder except for a specific file type

Correctly ignore all files recursively under a specific folder except for a specific file type I have seen similar questions ([1](https://stackoverflow.com/questions/11852558/gitignore-only-allow-cert...

Rebasing remote branches in Git

Rebasing remote branches in Git I am using an intermediate Git repository to mirror a remote SVN repository, from which people can clone and work on. The intermediate repository has it's master branch...

How to manage the version number in Git?

How to manage the version number in Git? Let's imagine the [blerp](http://xkcd.com/1692/) command line tool maintained on [git](/questions/tagged/git). This tool has the (hidden) `--version` option wh...

2 Sep at 17:19

How do you get git to always pull from a specific branch?

How do you get git to always pull from a specific branch? I'm not a git master, but I have been working with it for some time now, with several different projects. In each project, I always `git clone...

18 Mar at 19:18

Different *.csproj / *.config settings for each team member and branch

Different *.csproj / *.config settings for each team member and branch This question is kind-of two in one, but both are related to the same problem. We are a team of 10 developers, some developers pr...