Re: [Mailman-Developers] Pushing branch to origin
Hi Vinay,
On 3/19/16, Vinay Mundada vinaymundada27@gmail.com wrote:
git remote -v gives me this: origin git@gitlab.com:mailman/postorius.git (fetch) origin git@gitlab.com:mailman/postorius.git (push)
But I have followed the exact steps while doing the setup.
Instead of cloning from your fork(as mentioned in the guide), you seem to have cloned from Mailman project's master branch.
So now to what do I change my remote name to?
You can perform these steps:
1: Rename origin to upstream.(git rename origin upstream)
2: Add new remote origin.(git remote add origin
git@gitlab.com:<username>/mailmam.git)(If you want then you can copy
exact SSH url from your fork's GitLab page.)
3: Push your branch to origin.(git push origin
Hope it helps.
Regards, Harshit Bansal.
On Sat, Mar 19, 2016 at 12:24 PM, Harshit Bansal < harshitbansal2015@gmail.com> wrote:
Hi vinay, Have you setup your remotes correctly as mentioned in: http://wiki.list.org/DEV/HowToContributeGit
You can check your remote by this command: git remote -v
It must show your fork as origin. If it doesn't show your fork as origin then you must setup remotes correctly as mentioned in the guide. You can use git remote rename command to rename your remotes. You should always push to your fork and then create a merge request.
Regards, Harshit Bansal.
participants (1)
-
Harshit Bansal