How to use this repository as the primary branch for local development #6385
joshuafontany
started this conversation in
General
Replies: 2 comments 2 replies
-
A simple example. First, fork this repository to https://github.com//TiddlyWiki5.git:
Make changes in the dev branch and
If changes are in the upstream remote ("jermolene"), pull them, push them to your master remote ("origin"), then merge them into the dev branch (& push that):
I hope this is helpful. :P |
Beta Was this translation helpful? Give feedback.
2 replies
-
Hi @joshuafontany this is useful – would you consider making a contribution to /dev? It needs some love, but there's no harm in adding to the "howto's" that we have already. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I found this very useful, and had to hunt around for it again, so thought I would post it here as a discussion.
How to setup this repository as your
master
branch & work out of local branches (that are backed up to github):#5899 (comment)
@pmario wrote:
I don't use my local "master" branch anymore. I directly use jermolene/master as my master branch. With that setting I also avoid to merge stuff into my master, because I can't push it to github... It would want to push it to Jeremy's branch, which I can't... So I'm sure I always create a new feature branch for new stuff.
Since I use VSCode all the command line stuff is hidden by the UI.
My "master-branch" setting in .git/config looks like this
This is the only [branch "master"] setting! So if I checkout "master" I do get the actual version from Jeremy.
To get the latest version I need:
Beta Was this translation helpful? Give feedback.
All reactions