-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
18 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,9 +19,26 @@ | |
concise = %C(yellow)%h%C(reset) %s %C(bold black)(%an, %ar)%C(reset)%C(bold blue)%d%C(reset) | ||
|
||
[alias] | ||
# When doing "git git log" or some such, do not complain about "git" not | ||
# being a valid Git command. This happens when copy-pasting examples, for | ||
# instance. | ||
git = !git | ||
|
||
# Quickly view the latest commits in a multicolour oneliner format that | ||
# highlights the parts I care about most: SHA, description and branch. | ||
l = log --pretty=concise -n 20 | ||
|
||
# Like "git l", but show all and draw the history graph, too. | ||
ll = log --pretty=concise --graph | ||
|
||
# Show a concise status of the working directory, along with the branch | ||
# and the number of commits behind and/or ahead. | ||
s = status --short --branch | ||
|
||
# Quickly push to the most common destination. | ||
pom = push origin master | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
janmoesen
Author
Owner
|
||
|
||
# I know "pum" could just as well stand for "PUsh" instead of "PUll", but | ||
# I am so used to "git pom" that "git pum" feels like a natural | ||
# counterpart. | ||
pum = pull origin master | ||
git = !git |
Once the master branch is set up on the remote repository, you can just use
git push
instead ofgit push origin master
sincemaster
is the implied default value, right?