mirror of
https://github.com/tiimgreen/github-cheat-sheet.git
synced 2025-08-10 09:54:08 +02:00
:trollface: :trollface: :trollface:
This commit is contained in:
@@ -261,14 +261,12 @@ https://github.com/rails/rails/commits/master?author=dhh
|
||||
|
||||
## Empty Commits
|
||||
|
||||
Commits can be pushed with no code changes by adding `--allow-empty`
|
||||
Commits can be pushed with no code changes by adding `--allow-empty` — :trollface: :
|
||||
|
||||
```bash
|
||||
$ git commit -m "Big-ass commit" --allow-empty
|
||||
```
|
||||
|
||||

|
||||
|
||||
## Comparing Branches
|
||||
|
||||
To use GitHub to compare branches, change the URL to look like this:
|
||||
|
Reference in New Issue
Block a user