# Add alias to user's jj config
jj-cz setup-alias
# Add alias to repository-local config
jj-cz setup-alias --local
# Show what would be added without modifying
jj-cz setup-alias --dry-run
# Remove the alias
jj-cz setup-alias --remove
```bash
# Add alias to user's jj config
jj-cz setup-alias
# Add alias to repository-local config
jj-cz setup-alias --local
# Show what would be added without modifying
jj-cz setup-alias --dry-run
# Remove the alias
jj-cz setup-alias --remove
```
Getting the alias to work can be achieved with:
```toml
# ~/.config/jj/config.toml
[aliases]
cz = ["util", "exec", "--", "jj-cz"]
```
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Getting the alias to work can be achieved with: