Re: [git-users] Re: how to to check if a branch has changes not present in master?

2012-08-28 Thread Donovan Bray
git diff master.. Would give you what's in your current branch since master git diff ..master Would show you commits in master that your local branch doesn't have git diff ...master Or git diff master... Would show you all commits that your branch and master do not share I only find the 3

Re: [git-users] applying and un-applying the same commit

2010-11-12 Thread Donovan Bray
git is not the problem your pattern is. isolate your configuration into as few files as possible. commit a template for that file(s). (so that new devs can copy it into place and edit it once) then add the real file to the .gitignore so that it isn't tracked. Now if you want to get fancy use

Re: [git-users] change another branch

2010-09-16 Thread Donovan Bray
Why do you do this? First putting all of your work only in one branch called _work_ is extremely self limiting. What if you have to work on a critical bugfix but are already in the middle of a new feature. I would ditch that concept and begin using topic branches. You shouldn't have to care

Re: [git-users] What to do when you get a conflict (rails) of schema.rb

2010-08-26 Thread Donovan Bray
Fwiw I recommend .gitignore'ing the schema.rb. You don't need it checked in its regenerated every migration and it's a magnet for useless conflicts. On Aug 26, 2010, at 7:20 AM, Pito Salas r...@salas.com wrote: Hmm. But it's a git-users question. Thanks anyway. On Wed, Aug 25, 2010 at 6:52

Re: [git-users] What to do when you get a conflict (rails) of schema.rb

2010-08-26 Thread Donovan Bray
The schema.rb is primarily used in the db:test:prepare rake task that bootstraps your :test database when you run rake spec or rake test. You can bootstrap a non test database but I don't recall the command because I don't use it. So if you don't check it in ; and if you clone a project and

Re: [git-users] Merging workflow

2010-08-12 Thread Donovan Bray
Create a new branch all (or some other more descriptive name) based on daviddoria, then merge the other projects into it. You have your combined branch, and all of the source branches won't be polluted by each others commits. On Aug 12, 2010, at 7:22 AM, David Doria daviddo...@gmail.com

Re: [git-users] listing what files were changed in commit

2010-03-19 Thread Donovan Bray
Git log --raw On Mar 19, 2010, at 3:22 AM, Marcin Krol mrk...@gmail.com wrote: Hello, I can list patches using git log -p. But sometimes that's too detailed and I just would like to display a list of files that were affected in a given commit. Is there some way to do it? -- Regards,