dotbare
Git
Our great sponsors
dotbare | Git | |
---|---|---|
4 | 284 | |
624 | 49,275 | |
- | 1.2% | |
0.0 | 10.0 | |
over 1 year ago | about 23 hours ago | |
Shell | C | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
dotbare
-
Open relevant git files in your $EDITOR
This is great! I've been using Dotbare, GNU Stow and some of my own aliases for a while now to sync my dotfiles, and this seems like a great and simple addition to my toolkit (and graeat for regular git repo's as well!). Thank you for sharing!
-
Zsh Plugins Commit TOP
dotbare 🥇 ⌛ - Interactive dotfile management with the help of fzf.
-
How do you manage your dotfiles?
I also use a bare repo, but I use dotbare for fzf+git superpowers.
Git
-
So You Think You Know Git – Git Tips and Tricks by Scott Chacon
Boy, I can't find this either (but also, the kernel mailing list is _really_ difficult to search). I really remember Linus saying something like "it's not a real SCM, but maybe someone could build one on top of it someday" or something like that, but I cannot figure out how to find that.
You _can_ see, though, that in his first README, he refers to what he's building as not a "real SCM":
https://github.com/git/git/commit/e83c5163316f89bfbde7d9ab23...
-
Git Commit Messages by Jeff King
Here is the direct link, as HN somehow removes the query string: https://github.com/git/git/commits?author=peff&since=2023-10...
- My favourite Git commit (2019)
-
The bash book to rule them all
Yes, but you are referring to standalone scripts, not functions defined within a Bash script.
Compare for example the following helper code used for git command completion inside Bash and inside PowerShell.
Bash: https://github.com/git/git/blob/master/contrib/completion/gi...
-
Git Branches: Intuition and Reality
`master` is also used as the default name for the default branch in newly created repositories. See option `--initial-branch` of `git init` and config variable `init.defaultBranch` [2] to override. Git for Windows, for example, allows setting the config option in its installer.
Source code:
- for merge commit formatting: https://github.com/git/git/blob/2108fe4a1976f95821e13503fd33...
> which branch on a remote is considered the default
That part is actually covered by "the default branch in newly created repositories". There are two different places where its done:
- This is the one you probably mean: [1]
- This is an obscure feature: [2]. A Stack Overflow comment [3] calls it "one of the abandoned experiments that were being done before the concept of a remote was invented".
Both of the places use function git_default_branch_name from refs.c [4], which uses config variable `init.defaultBranch` I've mentioned above.
[1] https://github.com/git/git/blob/v2.43.0/remote.c#L2380-L2383
[2] https://github.com/git/git/blob/v2.43.0/remote.c#L328-L338
[3] https://stackoverflow.com/a/54132016/1083697
[4] https://github.com/git/git/blob/v2.43.0/refs.c#L671-L705
-
See the History of a Method with Git log -L
There's a comment about that here: https://github.com/git/git/blob/bc5204569f7db44d22477485afd5...
When writing or updating patterns, assume that the contents these
-
fdupes: Identify or Delete Duplicate Files
You know another project with much of its source files in the top-level directory? https://github.com/git/git
What are some alternatives?
scalar - Scalar: A set of tools and extensions for Git to allow very large monorepos to run on Git without a virtualization layer
PineappleCAS - A generic computer algebra system targeted for the TI-84+ CE calculators
Subversion - Mirror of Apache Subversion
vscode-gitlens - Supercharge Git inside VS Code and unlock untapped knowledge within each repository — Visualize code authorship at a glance via Git blame annotations and CodeLens, seamlessly navigate and explore Git repositories, gain valuable insights via rich visualizations and powerful comparison commands, and so much more
linux - Linux kernel source tree
chromebrew - Package manager for Chrome OS [Moved to: https://github.com/chromebrew/chromebrew]
jj - A Git-compatible VCS that is both simple and powerful
vim-gitgutter - A Vim plugin which shows git diff markers in the sign column and stages/previews/undoes hunks and partial hunks.
mpv - 🎥 Command line video player
git-filter-repo - Quickly rewrite git repository history (filter-branch replacement)
safestringlib
legit - Git for Humans, Inspired by GitHub for Macâ„¢.