01a7ec2acf
Dynamically identify the "default" git branch
...
This broadly assumes that the "default" remote is called "origin", but
that's better than assuming that plus the default branch name.
Thanks to https://joshtronic.com/2020/08/09/how-to-get-the-default-git-branch/
Suggested-by: Chris Lane <chris@chrislane.com >
Signed-off-by: Joe Groocock <me@frebib.net >
2022-05-18 10:46:05 +00:00
8e74101f3e
git: Fetch GitHub pull request refs by default
...
I can't find a way to make this a wildcard that applies to all remotes,
so this adds the two most common remotes that I'm likely to use.
Signed-off-by: Joe Groocock <me@frebib.net >
2021-11-23 11:21:45 +00:00
898190a99f
git: Use fast-forward-only merge by default
...
Merge commits are nasty, so make sure they're only created explicitly
and never by default.
Signed-off-by: Joe Groocock <me@frebib.net >
2021-11-23 11:16:08 +00:00
24dfc13c3f
git: log/show dates in ISO8601 in UTC
...
Consistency is key. Timezones are the devil.
Signed-off-by: Joe Groocock <me@frebib.net >
2021-05-25 09:58:32 +00:00
b1eecdbbda
git: suppress detached-head warning. I-know-what-I-am-doing
...
git is not for the weak. Warnings are not for the knowing.
Shut up git.
Signed-off-by: Joe Groocock <me@frebib.net >
2021-01-07 15:34:18 +00:00
1b3672b983
git: suppress default branch babble warning
...
Shut up and just make me a repo without complaining will you.
Signed-off-by: Joe Groocock <me@frebib.net >
2021-01-07 15:34:18 +00:00
60bf423556
dotfiles: move .config/* to root
...
This seems to make more sense. Almost all files were within .config
anyway.
Signed-off-by: Joe Groocock <me@frebib.net >
2020-08-10 22:42:14 +01:00