Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4618208
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T02:14:01+00:00 2026-05-22T02:14:01+00:00

For some reason git log repo2/master..master — . doesn’t work for me ( fatal:

  • 0

For some reason git log repo2/master..master -- . doesn’t work for me ("fatal: bad revision 'repo2/master..master'", the same applies to git checkout repo2/master -- .). My config looks like this:

[remote "origin"]
        fetch = +refs/heads/*:refs/remotes/origin/*
        url = ssh://me@domain.com/var/git/me/repo.git
[remote "repo2"]
        fetch = +refs/heads/*:refs/remotes/origin/*
        url = ssh://me@domain.com/var/git/me/repo2.git

I have no problem running git checkout origin/master -- ., so the problem only applies to “repo2” for some reason. Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T02:14:02+00:00Added an answer on May 22, 2026 at 2:14 am

    Shouldn’t the fetch for repo2 be:

    fetch = +refs/heads/*:refs/remotes/repo2/*
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I did git pull origin newbranch:newbranch ... but for some reason.. this tried merging
I use git all the time and for some reason now every time i
For some reason, when I try to look at git help pages, it opens
I have a Git repository with 'master' branch. Some time ago (few months), we
For some reason the Git plugin (version 0.2.12.42.1) I use for Netbeans 7.0.1 displays
For some reason whenever I do a git push it returns: remote: TERM environment
pulled down a repo from git. For some reason I need to do ./script/rails.rb
So I'm working in a branch, make some changes, and run git merge master
For some reason I never see this done. Is there a reason why not?
For some reason when I attempt to make a request to an Ajax.net web

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.