mirror of
https://github.com/tiimgreen/github-cheat-sheet.git
synced 2025-08-10 18:04:10 +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
|
## 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
|
```bash
|
||||||
$ git commit -m "Big-ass commit" --allow-empty
|
$ git commit -m "Big-ass commit" --allow-empty
|
||||||
```
|
```
|
||||||
|
|
||||||

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