I am reading through the magit manual trying to figure out how to configure remote variables.
From the magit manual "7.1.1 The Remote Popup" on https://magit.vc/manual/magit/The-Remote-Popup.html :
M C (magit-remote-config-popup)
This command shows remote related variables in a separate popup.
M a (magit-remote-add)
Add a remote and fetch it. The remote name and url are read in the minibuffer.
The 'M' menu does not list 'C'. How to access the 'C' option?
I have used git for a small project, now I am starting to learn magit.
I am using two github URLs for practice. The maintainer URL is https://github.com/wolfv6/repo.git . The contributor URL is https://github.com/wstudent/repo . How does the maintainer pull from the contributor's repo from magit?
I tried the following.
From Magit I enter Magit pull popup by pressing 'F':
Then press 'e':
What should go in the "Pull:" prompt?
Adding upstream from git command line looks like this:
[~/Documents/developer/git/canon/repo]
$ git remote -v
origin https://github.com/wolfv6/repo.git (fetch)
origin https://github.com/wolfv6/repo.git (push)
$ git remote add upstream https://github.com/wstudent/repo.git
Can Magit add upstream, or should I use git command line?
M-x magit-remote-add
will prompt you for remote's details and add it to the currently active repository.pull
is a two-stage process (in this respect), it fetches the history of the branch and then it either merges that history with your local history, or it rebases fetched history on local history. (contd)