1
0
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:
Rafal Chmiel
2014-04-14 16:06:11 +01:00
parent b9a18b7611
commit 2dbc2d3839

View File

@@ -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
```
![Trololol](http://img1.wikia.nocookie.net/__cb20130905205853/flylikeabird3/images/0/0c/Mexican_troll_face_by_mariodude12312-d5mtl9z.png)
## Comparing Branches
To use GitHub to compare branches, change the URL to look like this: