Tag: repository

Git working tree in IIS's wwwroot

We have a Visual Studio 2003 solution containing multiple web-applications that need to be located in c:\Inetpub\wwwroot\. I know that I can create a repository in SVN that can contain those applications, and each physical path can be connected to a different location in the same repository. For ex: c:\Inetpub\wwwroot\app1\ > SVN-REPO:/apps/app1 c:\Inetpub\wwwroot\app2\ > SVN-REPO:/apps/app2 […]

How to use the API to download a repo

I want to download a single file from my Bitbucket repository. In the documentary I found the following API call. https://api.bitbucket.org/1.0/repositories/{accountname}/{repo_slug}/raw/{revision}/{path} However I struggle to find out what my “accountname”, “repo_slug”, “revision” and “path” is. If I open the folder “scripts” in my Bitbucket account the browser displays the following link. https://example.com/projects/MMMA/repos/iapc_reporting/browse/scripts For accountname I […]

Git + Arc Diff & Repairing Diffs (Been working from !)

UPDATED PROBLEM DESCRIPTION : Thanks in advance! Working in the master branch, I made changes to a file and arc diff –create‘ed a differential to be reviewed. I then addressed another user-story, still working in the master branch, and again arc diff –create‘ed a differential for review. Two user-stories, two differentials ready for review. Good […]

Git user permissions

I have a local repo and remote –bare repository set. Each of my hosting packages has its own user and group (with no ssh access), so I have so permissions problems. I have worked around this by setting up my remote repo as ssh://root@… and createing post-receive hook to apply chown correctuser:correctgroup -R public_html/ This […]

Cannot create repository with ungit

After installing ungit, I tried to test it with a mock folder (testungit). I used ungit CLI, then I have got this page. I would like to have this page to create a repository. During this installation, I had those lines : npm WARN engine forever-monitor@1.1.0: wanted: {“node”:”0.8.x”} (current: {“node”:”v0.10.29″,”npm”:”1.4.14″}) > typechecker@2.0.8 preinstall /usr/local/lib/node_modules/ungit/node_modules/getmac/node_modules/extract-opts/node_modules/typechecker > […]

Get topic branch from gerrit

One developer pushed pack of patches to a gerrit under topic “test_topic”. For example 🙂 I want to get all this patches on my development branch. Are there easy way to do this? For now, I am using some magic, involving gerrit query, grep, sort, awk and then git rebase -i. But, I am feeling, […]

Merging a local repo with a Github project

I have a local github repository that is an old version of an open-source project on Github. I need to upgrade my local repository with the new version on github but I don’t know where to start. I saw an example where I use the command “git remote add {name} {URL of github repository}”. Is […]

is git submodules what I need?

I have two repositories for two websites, but those two websites share the same framework. I wanted to make a dedicated repository for the framework itself but I’m not sure how would that work. What I currently do is that I develop the framework within website1 and then copy it to website2 each time I […]

Reproducible android builds with git with fast forward merges

I’m looking reproducibility between android system (AOSP) daily builds against repo’s collections of git repositories and the impact of using fast-forward merges. The problem is that when doing daily builds you will get a tip-of-tree while development is happening elsewhere. If HEAD hasn’t changed when the change is pushed, it will do a fast-forward merge […]

Shared Git Repository on Windows File Server (Fail)

Before anyone jumps in and refers me to a prior post, let me say, I’ve gone through all of them with no success. As the title says, I’m trying to setup a shared git repository on a Windows file server using local path (e.g. s:\SharedProjects\foo), where each developer has a local repository (e.g. c:\MyProjects\foo). So […]

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