Re: [git-users] insufficient permission

2013-11-08 Thread Ivan Ionut
thank you very much On Friday, November 8, 2013 9:13:21 AM UTC+2, David wrote: > > On 8 November 2013 17:51, Ivan Ionut > > wrote: > > In the example of the book from > > http://git-scm.com/book/en/Git-Internals-Git-Objects after typing the > > command > > > > sudo echo 'test content' | git

Re: [git-users] Question on Git Hooks

2013-11-08 Thread Konstantin Khomoutov
On Thu, 7 Nov 2013 12:14:34 -0500 lingfei ouyang wrote: > I'm trying to create an Git-extenstion pre-commit hooks and below is > what I got: > > > #!/bin/bash -xv > > refname="$1" > oldrev="$2" > newrev="$3" > > pattern="[A-Z]-[0-9]{5}\:" > > echo $newrev > newrev_subject=$(git show -s -

[git-users] Re: Git deployment and databases.

2013-11-08 Thread Gabriel Felipe
I basically knew that i would use something other than git to do the migrations, but i thought that it would be nice to use git as a trigger. Because we are already using it as a deployment tool, so it would know when to call the app and sync the db. I'll take a look at the article that you se

[git-users] How to import libraries to git repository

2013-11-08 Thread Hendrik
Hello, I'm developing Apps for Android with Eclipse from the Android SDK. An Android project requires a few Android libraries to work and I would like to know if it's possible to upload these libraries to a git repository. I've successfully uploaded a project to a git repository by right clicki

[git-users] Re: Question on Git Hooks

2013-11-08 Thread mayur nagekar
I am assuming its a bare repository on the remote server. If it is, then 1) traverse to that repository directory. For example , cd my_repo.git 2) then cd to hooks directory, For eg, cd hooks 3) You need to put the logic in "update" hook. If it doesn't exist, create update file. I have all my