ERPNext Foundation ERPNext Cloud User Manual Blog Discuss Frappé* Donate

Updating the branch from correct location


#1

Hello;

I created a branch called travel for erpnext at my local machine and at my remote github account, and I can easily push to it. But when doing update, I need to update this branch from right github account and not the upstream. What I have to configure at my config file of the github? Below is my config file:

[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote “upstream”]
url = https://github.com/frappe/erpnext
fetch = +refs/heads/:refs/remotes/upstream/
[branch “master”]
remote = upstream
merge = refs/heads/master
[remote “origin”]
url = https://github.com/bghayad/erpnext
fetch = +refs/heads/:refs/remotes/origin/

Regards
Bilal