[git-users] Is there a place record when I run git pull the last time

2013-10-15 Thread lei yang
Hi experts Is there a place record when I run git pull the last time Lei -- You received this message because you are subscribed to the Google Groups Git for human beings group. To unsubscribe from this group and stop receiving emails from it, send an email to

[git-users] Do I need to track a directory to be able to subtree and push it to a different remote branch?

2013-10-15 Thread Stereokai
I use one repo with develop and release branches for a Yeoman project. Simplified, my directory tree looks like this: root git directory ├── app └── dist (the build folder) With Grunt.js I build my app straight into dist. I would like to use git subtree push --prefix dist origin release

[git-users] Do I need to track a directory to be able to subtree and push it to a different remote branch?

2013-10-15 Thread Stereokai
I use one repo with develop and release branches for a Yeoman project. Simplified, my directory tree looks like this: root git directory ├── app └── dist (the build folder) With Grunt.js I build my app straight into dist. I would like to use git subtree push --prefix dist origin release

Re: [git-users] Is there a place record when I run git pull the last time

2013-10-15 Thread Benoit Person
Hi, If I understand correctly what you're asking for, the most reliable way is to read the modification date of the .git/FETCH_HEAD file. This SW thread has more precisions: http://stackoverflow.com/questions/2993902/how-do-i-check-the-date-and-time-of-the-latest-git-pull-that-was-executed On

Re: [git-users] Is there a place record when I run git pull the last time

2013-10-15 Thread lei yang
Thanks, that's what exactly I want Lei On Tue, Oct 15, 2013 at 4:47 PM, Benoit Person benoit.per...@gmail.comwrote: Hi, If I understand correctly what you're asking for, the most reliable way is to read the modification date of the .git/FETCH_HEAD file. This SW thread has more

[git-users] git backup

2013-10-15 Thread shlo . afgin
Hi, All the git repositories are on one git server in specific directory. I would like to know what I need to backup in order to be able to make a success restore, in case my disk on the git server will crushed. I would like to understand, after the user run on his local workstation 'git

Re: [git-users] Is there a place record when I run git pull the last time

2013-10-15 Thread Konstantin Khomoutov
On Tue, 15 Oct 2013 16:24:50 +0800 lei yang yanglei.f...@gmail.com wrote: Is there a place record when I run git pull the last time Please note that while you've got an answer proposing a semi-working solution (that is, working until someone calls `touch .git/FETCH_HEAD`), to me, it seems that

Re: [git-users] git backup

2013-10-15 Thread Konstantin Khomoutov
On Tue, 15 Oct 2013 06:53:17 -0700 (PDT) shlo.af...@gmail.com wrote: All the git repositories are on one git server in specific directory. I would like to know what I need to backup in order to be able to make a success restore, in case my disk on the git server will crushed. I would

Re: [git-users] Is there a place record when I run git pull the last time

2013-10-15 Thread Konstantin Khomoutov
On Tue, 15 Oct 2013 18:00:42 +0400 Konstantin Khomoutov flatw...@users.sourceforge.net wrote: On Tue, 15 Oct 2013 16:24:50 +0800 lei yang yanglei.f...@gmail.com wrote: Is there a place record when I run git pull the last time Please note that while you've got an answer proposing a

Re: [git-users] Do I need to track a directory to be able to subtree and push it to a different remote branch?

2013-10-15 Thread William Seiti Mizuta
I think that you can use a hook instead of sending the dist folder. Send the app folder and then you run your grunt task in a remote hook. You can read more about server side hooks here: http://git-scm.com/book/en/Customizing-Git-Git-Hooks#Server-Side-Hooks William Seiti Mizuta @williammizuta

Re: [git-users] Do I need to track a directory to be able to subtree and push it to a different remote branch?

2013-10-15 Thread Tom Alon
Thank you very much :) On Tue, Oct 15, 2013 at 7:28 PM, William Seiti Mizuta william.miz...@gmail.com wrote: I think that you can use a hook instead of sending the dist folder. Send the app folder and then you run your grunt task in a remote hook. You can read more about server side hooks

[git-users] Re: git backup

2013-10-15 Thread shlo . afgin
What's pushed when a developer simply runs `git push` or `git push remote` in their repository is another story completely as it depends on a number of details. If you're interested about this, ask away. Yes I do. I new with git and I would like to understand more. Also I did not