- Line endings separate statements. Semicolons optional.
- Line comments begin with
#
- Block comments enclosed by
=begin
and=end
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ !! # Repeat last command | |
$ !x # Repeat last command that started with x | |
$ !?x # Repeat last command that has the substring x | |
$ !10 # Repeat 10th command in the history file | |
$ !-10 # Repeat 10th from last command in the history file | |
$ !!* # Fetch parameters from last command | |
$ !!^ # Fetch first parameter from last command | |
$ !!$ # Fetch last parameter from last command | |
$ !!3 # Fetch third parameter from last command |
git commit
- Commit under HEAD and make HEAD point to the new commit
git branch <branchname>
- Point to HEAD
git branch <branchname> <commit>
- Point to
If <branchname>
already points somewhere, use -f to force moving the pointer
git checkout <branchname>
- Attach HEAD to
When HEAD is attached to , they move together. In this case we call `` the active branch.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# GIT WORKFLOW | |
# Initialize: | |
git init | |
# Check Out: | |
git clone username@host:/path/to/repository |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A crisis is when you can't say "Let's just forget the whole thing." | |
-- Ferguson | |
% | |
A professional programmer is an amateur who never quit. | |
% | |
A real person has two reasons for doing anything... a good reason and the real reason. | |
% | |
A student who changes the course of history is probably taking an exam. | |
% | |
Advertising may be described as the science of arresting the human intelligence long enough to get money from it. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
How would you rate your experience with our site? | |
excellent | |
good | |
good | |
excellent | |
poor | |
excellent | |
good | |
excellent |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Berlin;Hamburg;1:35 | |
Bialystok;Vilnius;7:30 | |
Munich;Prague;6:05 | |
Berlin;Munich;5:45 | |
Frankfurt;Munich;3:10 | |
Berlin;Prague;4:35 | |
Amsterdam;Brussels;1:53 | |
Brussels;Cologne;1:47 | |
Amsterdam;Cologne;2:38 | |
Amsterdam;Berlin;6:10 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#TabsToolbar #tabbrowser-tabs .tabbrowser-tab:not([pinned]) .tab-close-button { | |
visibility: hidden !important; | |
display: block !important; | |
opacity: 0 !important; | |
-moz-margin-end: -16px !important; | |
} | |
#TabsToolbar #tabbrowser-tabs .tabbrowser-tab[pinned] .tab-close-button { | |
visibility: hidden !important; | |
display: block !important; |
OlderNewer