# Handle no-upstream branches by comparing commits against base · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/79f636ae90961646f14130971b63993b207f4f0c)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: 79f636ae90961646f14130971b63993b207f4f0c

Requested commit: 79f636ae90961646f14130971b63993b207f4f0c

Commit: 79f636ae90961646f14130971b63993b207f4f0c

Tree: aa9a6c8ab555a0bd10e0848a7a2614662d97b525

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Handle no-upstream branches by comparing commits against base

- Compute ahead count from base branch when upstream is missing
- Skip push/PR actions when no local commits are ahead
- Update server and UI tests for no-upstream push/PR behavior

```

## Parents

- [a059886e9d2c346152184abd5e6ed8579746fa4e](https://git.cafe/pingdotgg/t3code/commit/a059886e9d2c346152184abd5e6ed8579746fa4e?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/79f636ae90961646f14130971b63993b207f4f0c?format=markdown)
