GlobalConfiguration.Configure(WebApiConfig.Register) hanging

I have an MVC.NET website that I developed on my home PC that works perfectly. I use git and Visual Studio Online as source control. When I get to work and pull it down, it compiles just fine, but when I try to run the site, it always hangs on: Global.asax.cs Application_Start() AreaRegistration.RegisterAllAreas(); and/or GlobalConfiguration.Configure(WebApiConfig.Register); […]

Git track how a commit got into a branch

Is there a way to track how a commit got into a branch? I’m working with git and github enterprise. A couple of days ago, I came across a situation where a commit appears to have gotten from a feature branch (“f“) into our first staging branch (“s“), which is as expected (my colleagure merged […]

Should I store a database backup used for our automated tests in git?

We are currently trying to add automated integration tests to our continuous integration (CI) process. Our CI process is using TeamCity, and already builds our .NET solution, runs NUnit tests and deploys via Octopus Deploy. It is a typical web application and uses a SQL Server database. All of the code and unit tests are […]

How to copy a pushed branch to another directory?

I have a branch called master (Production) and another called development. When I push a commit from master, the post-receive hook executes: git –work-tree=/var/www/mywebsite.com –git-dir=/var/repo/mywebsite.com.git checkout -f And the website is live. But I want my development branch copied to /var/www/mywebsite.com.dev .

Relative submodule URL to another GitLab group

Using GitLab, I have a project myproject setup under a group myteam, which lives at this URL: git@mycompany.com:myteam/myproject.git The project has a couple submodules, which in the .gitmodules file looks like: [submodule “libs/mylib”] path = libs/mylib url = git@mycompany.com:myteam/mylib.git [submodule “libs/theirlib”] path = libs/theirlib url = git@mycompany.com:otherteam/theirlib.git I would like to replace these absolute URLs […]

'git add .' fails when local repository is in subdirectory of the worktree

I have a problem with git add . failing to add files. I believe (in fact, I’m sure) this is related to the fact that my local repository is located in a subdirectory of the worktree. git add –all works, but I’d like to understand what’s going on here. In the worktree directory I have […]

Netbeans git can't checkout local branch – Conflicts during checkout

Here is my problem: I have cloned project from remote server (branches develop & master) I checked out develop after changes, commited & pushed to remote, everything is fine pull from remote while still in develop commit after pull switch or checkout to new created branch Page from develop – won’t checkout. says: “Conflict during […]

Xcode 6 + OS X Server 10.10 failing initial push to server

I fresh installed OS X Server 10.10 on my iMac the other day. In the Xcode service settings, I have set repositories to be accessed over https and to be able to be created by logged in users. From my laptop, I’m able to add my server to the Xcode 6 account preferences and authenticate […]

Does git allow for “bare” submodules?

This may be terrible, I am not sure. Let us say we have a repo “product” with a working directory /product /product/command.script /product/config/ (bare git repo) And a repo “config” with a working directory /config /config/config.json The command.script file has actions to interact with a bare repo. ex. Running command.script BRANCH1 would run the command […]

Git failed to check out font file

I was trying to clone a web application project to my windows 7. However I got some error messages: error: unable to create file assets/cashback/fonts/Helvetica Neue LT Std\HelveticaNeueLTStd-Bd.otf (No such file or directory) error: unable to create file assets/cashback/fonts/Helvetica Neue LT Std\HelveticaNeueLTStd-Blk.otf (No such file or directory) error: unable to create file assets/cashback/fonts/Helvetica Neue LT […]

Git Baby is a git and github fan, let's start git clone.