How to share github repository?

V5.2.0 - Windows - Nodejs

Hi!
I’m not sure if this is a bug, or something that we do wrong.

I started a new Wappler project that I’d like to work on together with a friend.
I created the project, pushed the initial commit to Github, but my friend has problems pulling the project to his environment.

He is a collaborator on the Github repository. He connected his account but when clicking on “pull” he gets the above notification.

So we would like that we both work on the same project, and that we can push and pull the changes to Github, how do we solve this?

Thanks!

Hi.
Your friend needs to create a fresh project by CLONING. You cannot pull a new Git on an existing Wappler project.

I assume you have already committed all the code in a repository. Share the clone link with your firend.
Then, they need to click on the PLUS icon and select the branch icon to clone. Or there is a clone option in the Wappler landing banner as well.

1 Like

Ahh perfect thank you, will try that

After that first set up, we can share / pull / push changes via the git manager right? (Making sure there are no merge conflicts etc)

Yes

Yes. For conflict resolution, I prefer using VSCode and Sourcetree.

3 Likes

The cloning worked, and now we have the shared git.

Now when creating a branch, it’s not possible to merge it to “main”. It looks like it tries to merge it into “master” but we don’t have a “master” branch. Even in the main branch there is an option to merge into the non-existing “master” branch. I tried to rename the main branch into master in Github, but this didn’t solve the problem. Anyone any ideas?

Source tree.
Or CLI.
Wappler UI is limited at times. I have learned a few CLi commands and some things in source tree for the complete Git worflow.

1 Like

Like Sid, I jump out of Wappler for items it can’t handle. GitHub desktop app is my goto.

1 Like