Re: [git-users] Re: How to get the list of files "renamed" since the last commit ?

2013-09-04 Thread Gergely Polonkai
On 5 Sep 2013 08:16, "Thomas Ferris Nicolaisen" wrote: > > > > On Thursday, September 5, 2013 7:31:04 AM UTC+2, Jean-Michel FAYARD wrote: >> >> I want to be able to rename as freely as possible the filenames that are on my github repository >> The thing is that I don't want to have ugly broken lin

[git-users] Re: remote: You need 'Push' rights to upload code review requests.

2013-09-04 Thread Thomas Ferris Nicolaisen
On Thursday, September 5, 2013 5:51:46 AM UTC+2, python.b...@gmail.com wrote: > > I added the following in .git/config file to change the default username > and email as below but when I try to do a git push,it complains about > "remote: User: adavid",i have no idea where this user is coming fr

[git-users] Re: How to get the list of files "renamed" since the last commit ?

2013-09-04 Thread Thomas Ferris Nicolaisen
On Thursday, September 5, 2013 7:31:04 AM UTC+2, Jean-Michel FAYARD wrote: > > I want to be able to rename as freely as possible the filenames that are > on my github > repository > The thing is that I don't want to have ugly broken links

[git-users] How to get the list of files "renamed" since the last commit ?

2013-09-04 Thread Jean-Michel FAYARD
Hello to all and thank you for this mailing-list where this is my first post I guess that many of you know Jekyll - Transform your plain text into static websites and blogs the tool that github use to provide those fine github pages. Those who don't know it yet about jeky

[git-users] remote: You need 'Push' rights to upload code review requests.

2013-09-04 Thread python . beginner29
I added the following in .git/config file to change the default username and email as below but when I try to do a git push,it complains about "remote: User: adavid",i have no idea where this user is coming from?any idea why is this happening and how to fix it? [user] name = Aaaron Dav

Re: [git-users] Default remote?

2013-09-04 Thread Thomas Ferris Nicolaisen
On Wednesday, September 4, 2013 4:59:01 PM UTC+2, Konstantin Khomoutov wrote: > On Wed, 4 Sep 2013 07:43:40 -0700 (PDT) > Juha Aaltonen > wrote: > > > Is there a way to put a default remote repo for remote repo > > operations such that it's used if the remote repo is omitted from the > > comm

Re: [git-users] Re: Need sine help on Git hooks

2013-09-04 Thread Ling
Thanks Konstantin, Yes I tried git log $newname $(git merge-base $oldname $newname) and it works fine. Thanks Ling On Wednesday, September 4, 2013 10:55:41 AM UTC-4, Konstantin Khomoutov wrote: > On Wed, 4 Sep 2013 06:50:47 -0700 (PDT) > Ling > wrote: > > > Thanks Konstantin and quesiton

[git-users] Using Git as a user documentation source file repository

2013-09-04 Thread Chris Bridgen
Hi My organization is thinking about Git as a repository for FM+SMGL source (binary) files. We have very minimal requirements: * ability to check in / check out multiple files at the same time * ability to download entire sets of files to another server * ability to restrict some user's ability

Re: [git-users] Using Git as a user documentation source file repository

2013-09-04 Thread Konstantin Khomoutov
On Wed, 4 Sep 2013 09:55:05 -0700 (PDT) Chris Bridgen wrote: > My organization is thinking about Git as a repository for FM+SMGL > source (binary) files. We have very minimal requirements: > > * ability to check in / check out multiple files at the same time Yes. > * ability to download entire

Re: [git-users] Re: Need sine help on Git hooks

2013-09-04 Thread Konstantin Khomoutov
On Wed, 4 Sep 2013 06:50:47 -0700 (PDT) Ling wrote: > Thanks Konstantin and quesiton? you mean git log $newname ^$basename, > and is the $newname $basename are: newname is the after pushed > refs/heads/Lingfei_test2? and basename is before pushed: > refs/heads/Lingfei_test2? No, $newname and $

Re: [git-users] Re: Need sine help on Git hooks

2013-09-04 Thread Konstantin Khomoutov
On Wed, 4 Sep 2013 07:15:43 -0700 (PDT) Ling wrote: > I think what we want to have a hook that on the server repository to > prevent the local pushes, so I think if we using git log on the > server repo, this won't protect us Why? Using a pre-receive hook to check what has been pushed is the r

[git-users] Default remote?

2013-09-04 Thread Juha Aaltonen
Is there a way to put a default remote repo for remote repo operations such that it's used if the remote repo is omitted from the command line? It's irritating to have to write the long remote repo path part of which sometimes looks like ciphered. -- You received this message because you are

Re: [git-users] Default remote?

2013-09-04 Thread Konstantin Khomoutov
On Wed, 4 Sep 2013 07:43:40 -0700 (PDT) Juha Aaltonen wrote: > Is there a way to put a default remote repo for remote repo > operations such that it's used if the remote repo is omitted from the > command line? It's irritating to have to write the long remote repo > path part of which sometimes l

Re: [git-users] Re: Need sine help on Git hooks

2013-09-04 Thread Ling
Hello Konstantin, I think what we want to have a hook that on the server repository to prevent the local pushes, so I think if we using git log on the server repo, this won't protect us since git log is only created after local pushes, right? and also since when our developers clone the repo t

Re: [git-users] Re: Need sine help on Git hooks

2013-09-04 Thread Ling
Thanks Konstantin and quesiton? you mean git log $newname ^$basename, and is the $newname $basename are: newname is the after pushed refs/heads/Lingfei_test2? and basename is before pushed: refs/heads/Lingfei_test2? Thanks Lingfei On Wednesday, September 4, 2013 9:36:10 AM UTC-4, Konstantin

Re: [git-users] Re: Need sine help on Git hooks

2013-09-04 Thread Konstantin Khomoutov
On Wed, 4 Sep 2013 16:59:14 +0400 Konstantin Khomoutov wrote: [...] > For each ref to be updated: > > 1) Call `git merge-base $oldname $newname` -- this will give you the >name of a commit which is common between the old and the new state > of the ref. In the simplest case -- a fast-forwar

Re: [git-users] Re: Need sine help on Git hooks

2013-09-04 Thread Konstantin Khomoutov
On Wed, 4 Sep 2013 04:31:26 -0700 (PDT) Ling wrote: > Thanks Thomas, And yes I had read this and also I tried with git log > but this won't works since git log is only created after the push, > which means it won't compare the new push comment, it only compare > the previous pushed comment to tri

[git-users] Re: Need sine help on Git hooks

2013-09-04 Thread Ling
Hello Thomas, for example: This is the example hooks from http://stackoverflow.com/questions/2524101/git-how-do-we-verify-commit-messages-for-a-push that I tired: #!/bin/bash long_subject=$(git show master..Lingfei_test2 --pretty=format:%s | line | line | egrep 999) #long_subject=$(git lo

Re: [git-users] git log format without times and/or zone

2013-09-04 Thread Thomas Ferris Nicolaisen
On Wednesday, September 4, 2013 1:14:36 PM UTC+2, Hans Ginzel wrote: > Thank you, this reduces the time-zone. But it cannot be stored in > configuration like > > git config --global format.pretty "%h %ci %s" > git config --global log.date local -- You received this message because you are su

[git-users] Re: Need sine help on Git hooks

2013-09-04 Thread Thomas Ferris Nicolaisen
On Wednesday, September 4, 2013 1:31:26 PM UTC+2, Ling wrote: > > Thanks Thomas, And yes I had read this and also I tried with git log but > this won't works since git log is only created after the push, which means > it won't compare the new push comment, it only compare the previous pushed >

[git-users] Re: Need sine help on Git hooks

2013-09-04 Thread Ling
Thanks Thomas, And yes I had read this and also I tried with git log but this won't works since git log is only created after the push, which means it won't compare the new push comment, it only compare the previous pushed comment to trigger the hooks. since what I need is trigger the hooks when

[git-users] Re: Need sine help on Git hooks

2013-09-04 Thread Ling
Thanks Thomas, And yes I had read this and also I tried with git log but this won't works since git log is only created after the push, which means it won't compare the new push comment, it only compare the previous pushed comment to trigger the hooks. since what I need is trigger the hooks when

Re: [git-users] git log format without times and/or zone

2013-09-04 Thread Hans Ginzel
Thank you, this reduces the time-zone. But it cannot be stored in configuration like git config --global format.pretty "%h %ci %s" HG Dne 04.09.2013 08:58, Thomas Ferris Nicolaisen napsal: > On Tuesday, September 3, 2013 7:46:47 PM UTC+2, Hans Ginzel wrote: > >> I get >> >> eef5296 Thu

Re: [git-users] git log format without times and/or zone

2013-09-04 Thread Hans Ginzel
Thank you, this reduces the time-zone. HG Dne 04.09.2013 08:58, Thomas Ferris Nicolaisen napsal: > On Tuesday, September 3, 2013 7:46:47 PM UTC+2, Hans Ginzel wrote: > >> I get >> >> eef5296 Thu Aug 15 16:37:35 2013 +0200 msg3 >> 1e68ecb Wed Aug 14 11:08:22 2013 +0200 msg2 >> 4959e91 Mon

Re: [git-users] avoid git deleting tags file

2013-09-04 Thread Gergely Polonkai
I can't try it until afternoon, but isn't it enough to pass -e tags after -xfd? From the --help snippet it seems so. On 4 Sep 2013 06:34, "dexter ietf" wrote: > On Tuesday, September 3, 2013 8:07:06 PM UTC+5:30, William Seiti Mizuta > wrote: > >> Hi Dexter, >> >> you are using option x in git cl