Skip to content

Commit

Permalink
- Move Additional Commands under app-commands.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Catalin-Andronie committed Oct 24, 2023
1 parent 6860305 commit 413bb6e
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 20 deletions.
23 changes: 3 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
- [Unit Tests](#unit-tests)
- [Integration Tests](#integration-tests)
- [Code Coverage](#code-coverage)
- [Additional Commands](#additional-commands)
- [Any problem?](#any-problem)

## DbmlNet Parser Features

Expand Down Expand Up @@ -175,26 +175,9 @@ A new sample database for SQL Server 2016 and Azure SQL Database, illustrating c
dotnet cake --task=code-coverage-reports --open-reports
```

## Additional Commands
## Any problem?

- Push commits one by one automatically:

- Windows (PowerShell):

```powershell
foreach ($rev in $(git rev-list --reverse origin/branch-name..branch-name))
{
git push origin ($rev + ":branch-name") -f
}
```

- Linux (Shell):

```shell
for rev in $(git rev-list --reverse origin/branch-name..branch-name); do
git push origin $rev:branch-name -f;
done
```
Feel free to report issues. 😃

<!-- Links: -->
[CI-link]: https://github.com/Catalin-Andronie/dbml.NET/actions/workflows/build.yml
20 changes: 20 additions & 0 deletions assets/app-commands.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Commands

## Push commits one by one automatically

- Windows (PowerShell):

```powershell
foreach ($rev in $(git rev-list --reverse origin/branch-name..branch-name))
{
git push origin ($rev + ":branch-name") -f
}
```

- Linux (Shell):

```shell
for rev in $(git rev-list --reverse origin/branch-name..branch-name); do
git push origin $rev:branch-name -f;
done
```

0 comments on commit 413bb6e

Please sign in to comment.