13 lines
655 B
Markdown
13 lines
655 B
Markdown
# 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
|