Merge pull request 'Add new_projects.md' (#14) from todtb-patch-1 into main

Reviewed-on: https://git.tams.tech/TWS/meta-tasks/pulls/14
This commit is contained in:
todtb 2023-08-10 01:47:50 +00:00
commit 8423e8cdd5

12
new_projects.md Normal file
View file

@ -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