git pull opinion

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Aghiles
Date: Monday, November 5, 2007 - 2:52 pm

Hello,

I am not sure this is the best place to write about this. Anyway,
we just switched a couple of repositories to git (from svn) here
at work and one thing people find annoying is a pull into
a dirty directory. Before the "stash" feature it was even worse
but now we can type:

    git stash
    git pull
    git stash apply

But isn't that something we should be able to specify to the "pull"
command ? Additionally and if I am not mistakn, those commands will
create "dangling" commits and blobs. So one has to execute:

    git prune

Is there an "easier" way to pull into a dirty directory ? I am
asking this to make sure I understand the problem and not
because I find it annoying to type those 4 commands to perform
a pull (although some of my colleagues do find that annoying :).

For now, I am recommanding to my colleagues to commit very often
(even unfinished changes), pull, and then rebase the commits into
a more meaningful commit before pushing. Which seems to be a good
practice anyway,

Thank you for git,

- Aghiles.

ps; if someone is interested to hear what is the general opinion
on switching to git from svn in our company, I could elaborate.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
git pull opinion, Aghiles, (Mon Nov 5, 2:52 pm)
Re: git pull opinion, Alex Riesen, (Mon Nov 5, 3:49 pm)
Re: git pull opinion, Junio C Hamano, (Mon Nov 5, 4:33 pm)
Re: git pull opinion, Miklos Vajna, (Mon Nov 5, 4:40 pm)
Re: git pull opinion, Bill Lear, (Mon Nov 5, 5:36 pm)
Re: git pull opinion, Steven Grimm, (Mon Nov 5, 5:37 pm)
Re: git pull opinion, Pierre Habouzit, (Mon Nov 5, 5:46 pm)
Re: git pull opinion, Andreas Ericsson, (Mon Nov 5, 5:54 pm)
Re: git pull opinion, Johannes Schindelin, (Mon Nov 5, 6:16 pm)
Re: git pull opinion, Aghiles, (Mon Nov 5, 9:04 pm)
Re: git pull opinion, Aghiles, (Mon Nov 5, 9:16 pm)
Re: git pull opinion, Benoit Sigoure, (Mon Nov 5, 10:29 pm)
Re: git pull opinion, Aghiles, (Mon Nov 5, 11:30 pm)
Re: git pull opinion, Ralf Wildenhues, (Tue Nov 6, 12:34 am)
Re: git pull opinion, Alex Riesen, (Tue Nov 6, 12:38 am)
Re: git pull opinion, Alex Riesen, (Tue Nov 6, 12:40 am)
Re: git pull opinion, Aghiles, (Tue Nov 6, 12:45 am)
Re: git pull opinion, Pierre Habouzit, (Tue Nov 6, 1:31 am)
Re: git pull opinion, Pierre Habouzit, (Tue Nov 6, 1:51 am)
Re: git pull opinion, Andreas Ericsson, (Tue Nov 6, 1:59 am)
Re: git pull opinion, Johannes Schindelin, (Tue Nov 6, 4:59 am)
Re: git pull opinion, Johannes Schindelin, (Tue Nov 6, 5:05 am)
Re: git pull opinion, Andreas Ericsson, (Tue Nov 6, 5:08 am)
Re: git pull opinion, Linus Torvalds, (Tue Nov 6, 9:36 am)
Re: git pull opinion, Pascal Obry, (Tue Nov 6, 11:07 am)
Re: git pull opinion, Ralf Wildenhues, (Tue Nov 6, 1:22 pm)
[PATCH] Mark 'git stash [message...]' as deprecated, Brian Downing, (Tue Nov 6, 5:26 pm)
Re: git pull opinion, Uwe , (Wed Nov 7, 12:06 am)
Re: git pull opinion, Pascal Obry, (Wed Nov 7, 12:40 am)
Re: [PATCH] Mark 'git stash [message...]' as deprecated, Johannes Sixt, (Wed Nov 7, 1:00 am)
Re: [PATCH] Mark 'git stash [message...]' as deprecated, Junio C Hamano, (Wed Nov 7, 1:02 am)
Re: [PATCH] Mark 'git stash [message...]' as deprecated, Wincent Colaiuta, (Wed Nov 7, 1:12 am)
Re: [PATCH] Mark 'git stash [message...]' as deprecated, Pierre Habouzit, (Wed Nov 7, 1:23 am)
Re: git pull opinion, Aghiles, (Wed Nov 7, 2:25 pm)
Re: git pull opinion, Johannes Schindelin, (Thu Nov 8, 8:27 am)
Re: git pull opinion, Linus Torvalds, (Fri Nov 9, 5:36 pm)