git

Git problems with git push --all

I have a base repository that lives on a UNC \machine\share ....etc. I have a local clone that I work on in the master branch and occasionally merge over to the "stable" branch. usually I do a git push --all to move all changes in all branches up to the server. After creating a new branch git branch MultiCompany and then pushing it t...

git - project evolution, branch or new repo?

I have developed a Google App Engine web application versioned on GitHub. I'm going to "port" this application making it GAE agnostic; this port would have several files in commons with the original project but also a different file system structure. Is it better to create a new branch (nogae) and work on it or is it preferable to creat...

GIT - getting 'receive.denyCurrentBranch' pushing to bare repo

Have a remote git bare repo that onto which I've pushed a branch from one machine, and pulled to another machine. Made some changes on the other machine, trying to push those changes back to the remote bare repo, and I get the 'receive.denyCurrentBranch' error. What's going on? This isn't supposed to happen on a bare repo - there's no...

Is it possible to see only the commits in a particular branch in git?

Usually 'git log' shows all the commits contributing to the current point, even those commits that came from branches merged into the current branch. Is it possible to issue a command to only see the commits in a particular branch? That is, if there is an integration branch where everything is merged just before shipping, is there any ...

Error cloning a git repository (can't open pageant program)

I've opened a repository on github, and am now trying to clone it using TortoiseGit 1.5.3.0. I'm getting these cryptic error: can't open pageant program git have not installed When I'm trying to follow the instructions on github, I'm getting the following error after doing "git commit -m 'first commit'" error: pathspec 'commit'' did ...

Keeping a public and private version of my app using Git

I am building a Rails app that I manage with Git. All is perfect, but I'd like keep a public version as well as a private one. That is: the public version is for a public repository (for people to use), and the private version is for my own site. The idea is that both versions should be up-to-date, with the difference that my priv...

TortoiseGit's equivalent to TortoiseSVN's global ignore patterns

Is there a TortoiseGit equivalent to TortoiseSVN's "global ignore patterns" setting? ...

How do I get a URL for a specific revision on github?

Here is a sample project on github: http://github.com/ripper234/Test-grails-project I would like to capture the latest revision, and send a link to it to someone, so that even if the project changes later he will see the specific revision I was talking about. I guess forking could do that, but it's overkill. How do I do that? ...

Cannot see repositories

Installed GitWeb and CGit to tryout web interfaces to my Git/Gitosis repositories. Runing on Fedora 13 and my Gitosis is working great. I installed gitweb and cgit and setup the configs to point to my repositories but neither gitweb or cgi will list the repositories. Gitweb shows the gitweb page but shows: 404 - No projects foun...

gitting from branch to production

I have a production server from some hosting company, so I can't put a git repository there. I want to check the differences between my latest version in code to the prod server sources(its a php site). I think that someone changed stuff at prod without update it in git. how can I check this stuff? And maybe merge the changes or someth...

Git/GitHub: fork, subtree merge or submodule for external code?

Hi! I'd like to incorporate an existing project (hosted on GitHub) as a part of my project (into a subdirectory) while maintaining the history and the ability to update that project. I've found that there can be about three approaches: Fork the original project, move the original contents into a subdirectory and push it to my GitHub re...

unable to use capistrano -- prompted for password i am not sure of

ruby on my development machine:ruby 1.8.7 (2010-01-10 patchlevel 249) [i486-linux] capistrano on my development machine: Capistrano v2.5.5 OS on development machine: ubuntu 10.04 desktop edition server is Amazon web service instance running on ubuntu server 64 bit 10.04 ruby on server: ruby 1.8.7 (2010-01-10 patchlevel 249) [x86_64-linu...

How to synchronize two branches in the same Git repository?

Here's a common workflow hurdle I encounter often: master is our "stable" branch $ git status # On branch master nothing to commit (working directory clean) create a module on a branch $ git checkout -b foo $ echo "hello" > world $ git add . $ git commit -m "init commit for foo module" $ git checkout master $ git merge foo do work...

Git - simplest way to sync a repository with a checked out branch

My workflow is basically: Create a repo on my desktop PC Do some work on it and commit changes Clone onto my laptop Work on that, commit changes Now I want to synchronise the changes with my desktop. Trying git push desktop.local:~/my-repo will fail, because the master branch is already checked out. I know of two solutions to this: ...

Git Branch Workflow Dilemma

From master, I created a branch A because I wanted to add a new feature. Upon finishing the feature, I committed everything up to this point. But then I kept working on the branch, and now realize all things I have done since that commit would make more logical sense in a new branch, call it B, off of master. Now, I can obviously commit...

how can I set up a website to mirror whatever is pushed to git?

how can I set up a domain to mirror the files hosted on a git repository (github.com/nospampleasemam/dylanstestserver and dylanstestserver.com). The repository is of a website, so I want to host the files stored in the repository, not just mirror the files for download. thanks! ...

How do I list and fetch remote branches after SVN to Git migration?

I migrated our SVN repository to Git and pushed it to a central repository. We had a fair amount of tags and branches, but somehow we were not able to list and fetch those from a Git client. This was weird, because the tags and branches seemed to be available on the server. With help from a Jon Maddox blog post, a blog post from Marc...

Why do I have problems pushing new branches to my Git repository?

As a followup to my question about unavailable branches after svn to git migration, I have a different problem: I'm unable to push new branches to my central Git repository. $ git clone ssh://server/opt/git/our_app.git $ cd our_app $ git branch my-test-branch $ git checkout my-test-branch $ echo test > test.txt $ git add test.txt $ git ...

Git SVN rebase to tags only

Hi, I'm extending an open source project with additional functionality. So I'll be basing my code on the released version of the source code. The open source project uses SVN and I uses Git. How would I rebase only to the released version (SVN tags) instead of to the HEAD of trunk when a new version is released? Thanks. ...

what is the difference between tag and branch with git?

Possible Duplicate: What is the difference between a tag and a branch in git? What I'd like to do is create checkpoints for different versions of my code. So once I make a bunch of commits, I want to say, "Okay, at this point in the code, this is version 0.1 completed". And then I can make a bunch more commits and do it again ...