Hi,
I would like to change the default value in Pull / Pull From Repository. Mine always defaults to 'remotes' and I want 'origin'. I actually can't even do anything when 'remotes' is selected (The OK button is not active).
I have looked all all the parameters and my config file and can find no way to configure this.
To solve this problem, I just ignored it and left the extra step in my workflow.
If there's an 'origin' remote it should automatically be the default. I don't know where 'remotes' is coming from, what does the .git/config file look like inside your repo?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Actually I guess if other repo's work with the same config it probably isn't your Git version. Maybe running 'git remote -v' on the command line in that repo might give a clue?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It is identical (minus the url) of my other config files that work as expected:
[core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true ignorecase = true [user] name = <my_name> email = <my_email> [remote "origin"] url = <my_url> fetch = +refs/heads/*:refs/remotes/origin/* [branch "master"] remote = origin merge = refs/heads/master
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Strange, I copied & pasted that config file into a git repo of my own (with a valid URL) and the Push/Pull dialogs pre-select 'origin' as expected (the only item in the list).
Are you using the embedded Git or a custom system Git?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Git remote -v returns what I would expect, and it matches my other valid repos.
No big deal if this is not solvable, just trying to reduce one extra step (selection of origin), from my workflow!
$ git remote -v origin <valid_url> (fetch) origin <valid_url> (push)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.