git repo - Retrieve git repository name during git push at server level -


i new git, understanding naive. in perforce can p4 describe, , can give me info need changelist.

here when git push origin master, want know repository commits being pushed during pre-receive hook @ git server level.

i have seen option basename git rev-parse --show-toplevel, happens @ client level. want similar @ server level.

is possible?

git remote -v tell remote repository(ies) pull , push coming from.

example output:

git remote -v origin  git@github.com:null/python.git (fetch) origin  git@github.com:null/python.git (push) 

the name of repository null/python.

also, unless i'm misunderstanding you, shown repository files being pushed during push:

to git@github.com:null/python.git  * [new branch]      ruby-version -> ruby-version 

again, null/python name of remote repository.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

javascript - addthis share facebook and google+ url -

ios - Show keyboard with UITextField in the input accessory view -