Track Github Cheat Sheet Updates Daily
A list of cool features of Git and GitHub.
🏠 Home · 🔍 Search · 🔥 Feed · 📮 Subscribe · ❤️ Sponsor · 😺 tiimgreen/github-cheat-sheet · ⭐ 43K · 🏷️ Development Environment
Feb 02, 2020
Keyboard Shortcuts / Compare Branches across Forked Repositories
- Pressing
s
will focus the search field for the current repository. Pressing ↓ to select the “All GitHub” option changes the field to search all of GitHub.
Sep 08, 2016
Keyboard Shortcuts / Compare Branches across Forked Repositories
- Pressing
y
when looking at a file (e.g.,https://github.com/tiimgreen/github-cheat-sheet/blob/master/README.md
) will change your URL to one which, in effect, freezes the page you are looking at. If this code changes, you will still be able to see what you saw at that current time.
Git Grep / GitHub Talks
-e
The next parameter is the pattern (e.g., regex)
Feb 07, 2016
Empty Commits / GitHub Talks
- The first commit of a repository:
git commit -m "Initial commit" --allow-empty
.
Jun 03, 2015
Git Grep / GitHub Talks
--and
,--or
and--not
Combine multiple patterns.
Jan 21, 2015
Emojis / Compare Branches across Forked Repositories
:shipit:
✨
👎
👍
👏
May 18, 2014
Task Lists / Task Lists in Markdown Documents
- Earth
- Moon
- Mars
- Deimos
- Phobos
Apr 28, 2014
Task Lists / Task Lists in Markdown Documents
- Mercury
- Venus
Apr 16, 2014
Stripspace / GitHub Talks
- Strips trailing whitespace
- Collapses newlines
- Adds newline to end of file
Apr 14, 2014
Keyboard Shortcuts / Compare Branches across Forked Repositories
- Pressing
t
will bring up a file explorer.
- Pressing
w
will bring up the branch selector.
- Pressing
l
will edit labels on existing Issues.
Empty Commits / GitHub Talks
- Annotating the start of a new bulk of work or a new feature.
- Documenting when you make changes to the project that aren't code related.
- Communicating with people using your repository.