mirror of
https://github.com/tiimgreen/github-cheat-sheet.git
synced 2025-08-13 19:34:00 +02:00
Merge branch 'master' into korean
This commit is contained in:
10
README.md
10
README.md
@@ -189,7 +189,7 @@ https://github.com/rails/rails/blob/master/activemodel/lib/active_model.rb#L53-L
|
|||||||

|

|
||||||
|
|
||||||
### Closing Issues via Commit Messages
|
### Closing Issues via Commit Messages
|
||||||
If a particular commit fixes an issue, any of the keywords `fix/fixes/fixed` or `close/closes/closed`, followed by the issue number, will close the issue once it is committed to the master branch.
|
If a particular commit fixes an issue, any of the keywords `fix/fixes/fixed`, `close/closes/closed` or `resolve/resolves/resolved`, followed by the issue number, will close the issue once it is committed to the master branch.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ git commit -m "Fix cock up, fixes #12"
|
$ git commit -m "Fix cock up, fixes #12"
|
||||||
@@ -416,6 +416,8 @@ If you want people to use and contribute to your project, you need to start by a
|
|||||||
|
|
||||||
[](https://github.com/rafalchmiel/friction)
|
[](https://github.com/rafalchmiel/friction)
|
||||||
|
|
||||||
|
*Friction supports MRI 2.1.0, MRI 2.0.0, and MRI 1.9.3.*
|
||||||
|
|
||||||
### Contributing Guidelines
|
### Contributing Guidelines
|
||||||
Adding a `CONTRIBUTING` file to the root of your repository will add a link to your file when a contributor creates an Issue or opens a Pull Request.
|
Adding a `CONTRIBUTING` file to the root of your repository will add a link to your file when a contributor creates an Issue or opens a Pull Request.
|
||||||
|
|
||||||
@@ -556,12 +558,14 @@ This is produced:
|
|||||||
Running:
|
Running:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ git log --all --graph --decorate --oneline --abbrev-commit
|
$ git log --all --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
|
||||||
```
|
```
|
||||||
|
|
||||||
Produces:
|
Produces:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
Credit to [Palesz](http://stackoverflow.com/users/88355/palesz)
|
||||||
|
|
||||||
*This can be aliased using the instructions found [here](https://github.com/tiimgreen/github-cheat-sheet#aliases).*
|
*This can be aliased using the instructions found [here](https://github.com/tiimgreen/github-cheat-sheet#aliases).*
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user