Subversion
Git
Subversion | Git | |
---|---|---|
- | 313 | |
598 | 55,321 | |
1.2% | 1.4% | |
9.6 | 10.0 | |
5 days ago | 5 days ago | |
C | C | |
Apache License 2.0 | 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.
Subversion
We haven't tracked posts mentioning Subversion yet.
Tracking mentions began in Dec 2020.
Git
-
Mini course about git- João Cláudio Nunes Carvalho
Clone the repository: (Replace the URL with an actual Git repository URL) git clone https://github.com/git/git.git # This will clone the Git's own source code! For a smaller example, you can use a simple hello-world repo.
-
Decreasing Gitlab repo backup times from 48 hours to 41 minutes
They weren't, if you look at the fix [1] the dedupe loop was run in all cases, not just those with known dupes, so the performance hit was any bundle with lots of refs.
1.https://github.com/git/git/commit/bb74c0abbc31da35be52999569...
-
Converting a Git repo from tabs to spaces (2016)
Added to Git in 2019: https://github.com/git/git/commit/209f0755934a0c9b448408f9b7...
Supported on Github in 2022: https://github.blog/changelog/2022-03-24-ignore-commits-in-t...
-
Man pages are great, man readers are the problem
adoc is fine and is more widely supported. Linux (the kernel) documentation is written in adoc, along with man pages for many projects like git:
https://github.com/git/git/blob/master/Documentation/git-rm....
- Git's Initial Commit
- Show HN: "Git who" – A new CLI tool for industrial-scale Git blaming
-
Recommendations for designing magic numbers of binary file formats
Git interprets a zero byte as an unconditional sign that a file is a binary file [0]. With other “nonprintable” characters (including the high-bit ones) it depends on their frequency. Other tools look for high bits, or whether it’s valid UTF-8. These rules cover different common ways to check for text vs. bonary.
[0] https://github.com/git/git/blob/683c54c999c301c2cd6f715c4114...
-
I stopped everything and started writing C again
I second "Modern C" by Jen Gustedt.
- Get the `cdecl` tool to build intuition about function signatures. What does "int( * ( *foo)(void))[3]" mean?
- Write it yourself.
- Be disciplined. Develop good hygiene with compiler flags, memory/address checks, and even fuzzing.
- Read good source code such as the linux kernel. This is an amusing header file from the linux kernel that defines some banned files. This is wisdom if you choose to follow it: https://github.com/git/git/blob/master/banned.h
- Push the language to its limits. Play with memory and data structures. Inspect everything. This book "Data-Oriented Design" by Richard Fabien is a great to explore as well. It's about organizing your data for efficient processing.
-
Why "alias" is my last resort for aliases
```
Internally git uses the __git_complete function to set up completions for its subcommands, though this may be specific to your OS/distro and perhaps or git version.
This does seem to ship as part of git now, here[1].
[1]: https://github.com/git/git/blob/6a64ac7b014fa2cfa7a69af3c253...
-
Git clone –depth 2 is better than –depth 1 if you want to Git push
It isn't mangled. The commit is there as-is. Instead the repository has a file, ".git/shallow", which tells it not to look for the parents of any commit listed there. If you do a '--depth 1' clone, the file will list the single commit that was retrieved.
This is similar to the 'grafts' feature. Indeed 'git log' says 'grafted'.
You can test this using "git cat-file -p" with the commit that got retrieved, to print the raw object.
> git clone --depth 1 https://github.com/git/git
What are some alternatives?
AnkhSVN - AnkhSVN provides first class Subversion support for all recent Visual Studio versions.
linux - Linux kernel source tree
FFmpeg - Mirror of https://git.ffmpeg.org/ffmpeg.git
jj - A Git-compatible VCS that is both simple and powerful [Moved to: https://github.com/jj-vcs/jj]
libgit2 - A cross-platform, linkable library implementation of Git that you can use in your application.
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