diff --git a/new_projects.md b/new_projects.md new file mode 100644 index 0000000..1fa11db --- /dev/null +++ b/new_projects.md @@ -0,0 +1,12 @@ +# New projects + +## Initializing the repository +1) Create the repository on at `git.tams.tech/tws` first and clone +2) Push an empty commit to the `main` branch with the message 'init': + `git commit --alow-empty -m 'init'` +3) All further work to be merged from a branch on a fork + 1) Return to the web interface at `git.tams.tech/tws` and click the "fork" button + 2) Clone your forked repo + 3) Add the upstream (ex: `git remote add upstream ssh://git@git.tams.tech:2222/TWS/meta-tasks.git`) + 4) You can then fetch upstream changes and merge them to your fork + 5) Opening PRs should typically be from your fork's work branch to the upstream main