How can I see the location where a push came from?

If I push from a working repo to a bare repo, what cammand can I use to see only the location of the repo that pushed?

For example, if I push from /some/path/myRepo to /some/other/path/anotherRepo, what command will tell me that the push came from “/some/path/myRepo” if my current working directory is /some/other/path/anotherRepo?

  • How to create a restricted SSH account for a GIT repository?
  • Update my github repo which is forked out from another project
  • Always overwrite a git deployment branch
  • Which node is checked out into my local working tree when cloning a remote Git repository?
  • Branch name in build number
  • How to set PATH on Windows through R “shell” command
  • Linking SVN repository trunk as branch for Git repository subfolder
  • Why doesn't source control check in my CocoaPods?
  • How can I uncommit the last commit in a git bare repository?
  • Push an upstream new branch into origin
  • Git ignore this kind of files?
  • How do I get information about a git repo using absolute paths
  • One Solution collect form web for “How can I see the location where a push came from?”

    No, you cannot. You can only tell who pushed it and not from where it was pushed.

    If you were having, for example, http access to your repo through Apache, you can track where the push is coming from etc., but there is not a way to do that with git and definitely not when pushing to repos in local path.

    Git Baby is a git and github fan, let's start git clone.