Update new_projects

This commit is contained in:
todtb 2023-08-08 18:20:28 -04:00
parent b575258352
commit 9dd595d5de

View file

@ -1,6 +1,12 @@
# New projects
## Initializing the repo
1) Create the repo first
2) Push an empty commit to the `main` branch with the message `init`
3) All further work to be merged from a branch on a fork
## 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