generated from LarsBodewig/Template
-
Notifications
You must be signed in to change notification settings - Fork 0
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
0 parents
commit 991a311
Showing
5 changed files
with
65 additions
and
0 deletions.
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
[alias] | ||
all = "!git add -A && git commit -m \"$1\" && git push #" | ||
amend = !GIT_EDITOR=true git commit --amend | ||
autorebase = !git fetch --prune && GIT_EDITOR=true git rebase -i origin/$(git config custom.defaultbranch) | ||
bla = branch -la | ||
continue = "!GIT_EDITOR=true git rebase --continue" | ||
edit = "!git commit --amend -m \"$1\" && git rebase --continue #" | ||
gpg = !printf \"Meaning of commit signature codes:\n $(tput setaf 4)$(tput bold)G$(tput sgr0) Good valid signature\n $(tput setaf 4)$(tput bold)B$(tput sgr0) Bad signature\n $(tput setaf 4)$(tput bold)U$(tput sgr0) Good signature with unknown validity\n $(tput setaf 4)$(tput bold)X$(tput sgr0) Good signature that has expired\n $(tput setaf 4)$(tput bold)Y$(tput sgr0) Good signature made by an expired key\n $(tput setaf 4)$(tput bold)R$(tput sgr0) Good signature made by a revoked key\n $(tput setaf 4)$(tput bold)E$(tput sgr0) Signature cannot be checked (e.g. missing key)\n $(tput setaf 4)$(tput bold)N$(tput sgr0) No signature\n\" | ||
line = !git log --format=\"%C(auto)%h %C(blue bold)%G?%C(auto)%d %s\" --boundary origin/$(git config custom.defaultbranch).. | ||
log5 = log --format=\"%C(auto)%h %C(blue bold)%G?%C(auto)%d %s\" -n 5 | ||
repull = pull --rebase | ||
selfupdate = !git fetch --prune && git pull | ||
bvv = branch -vv | ||
[custom] | ||
defaultbranch = main | ||
[rebase] | ||
autoSquash = true | ||
[remote "template"] | ||
url = https://github.com/LarsBodewig/Template.git | ||
fetch = +refs/heads/main:refs/remotes/template/main |
Empty file.
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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
This licence grants you the rights, and only the rights, set out below, | ||
to access and review the code. If you take advantage of these rights, | ||
you accept this licence. If you do not accept the licence, | ||
do not access the code. | ||
|
||
Subject to the terms of this licence, we grant you a licence to access | ||
and use the code solely for review purposes. | ||
You may provide the code to anyone else and publish excerpts of it for | ||
the purposes of review and commentary, provided that when you do so you | ||
make any recipient of the code aware of the terms of this licence and | ||
that you attribute the code to the author. | ||
Other than in respect of those parts of the code that were developed by | ||
other parties and as specified strictly in accordance with the open | ||
source and other licences under which those parts of the code have been | ||
made available, you are not entitled to use or do anything with the | ||
code for any commercial or other purpose, other than review and | ||
commentary on it. | ||
|
||
THE CODE IS MADE AVAILABLE "AS-IS" AND WITHOUT ANY EXPRESS OF IMPLIED | ||
GUARANTEES AS TO FITNESS, MERCHANTABILITY, NON-INFRINGEMENT OR | ||
OTHERWISE. IT IS NOT BEING PROVIDED IN TRADE BUT ON A VOLUNTARY BASIS | ||
ON OUR PART AND YOURS AND IS NOT MADE AVAILABE FOR CONSUMER USE OR ANY | ||
OTHER USE OUTSIDE THE TERMS OF THIS LICENCE. ANYONE ACCESSING THE CODE | ||
SHOULD HAVE THE REQUISITE EXPERTISE TO SECURE THEIR OWN SYSTEM AND | ||
DEVICES AND TO ACCESS AND USE THE CODE FOR REVIEW PURPOSES. YOU BEAR | ||
THE RISK OF ACCESSING AND USING IT. IN PARTICULAR, THE AUTHOR BEARS NO | ||
LIABILITY FOR ANY INTERFERENCE WITH OR ADVERSE EFFECT ON YOUR SYSTEM | ||
OR DEVICES AS A RESULT OF YOUR ACCESSING AND USING THE CODE. | ||
|
||
The author may suspend, terminate or vary the terms of this licence | ||
and any access to the code at any time, without notice, for any reason | ||
or no reason, in respect of any licensee, group of licensees or all | ||
licensees. |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Template | ||
Copyright 2023 Lars Bodewig | ||
|
||
This product includes software developed by: | ||
|
||
|
||
The respective license information resides in the bundled libraries. |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Template | ||
|
||
Template to include license information and useful files in all projects | ||
|
||
Run `git config --add include.path ../.gitconfig` to include the template config in your project config. |