Git
chromebrew
Git | chromebrew | |
---|---|---|
309 | 26 | |
54,789 | 1,924 | |
1.4% | - | |
10.0 | 9.8 | |
6 days ago | almost 3 years ago | |
C | Ruby | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 only |
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.
Git
-
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
-
Why Git Subtree Requires Explicit Installation: Understanding Its Role and How It Becomes a Core Git Command
git clone https://github.com/git/git cd git/contrib/subtree
-
Oh Shit, Git?
Not trying to defend the choice of `git checkout` over `git switch` (and `git restore`) but they were introduced in v2.23 of Git [0], which was released about 5 years ago [1]. If you take a look at their help pages, they still include a warning that says
> THIS COMMAND IS EXPERIMENTAL. THE BEHAVIOR MAY CHANGE.
Granted, it has been in there for basically as long as the command(s) existed [2] and after 5 years perhaps it might be time to no longer call it experimental.
Still, it does seem like `git checkout` might be a bit more backwards compatible (and also reflective of the time when this website was originally created).
[0] https://github.com/git/git/blob/757161efcca150a9a96b312d9e78...
chromebrew
-
Archer T2U Plus
Hello, I have a TP Link Archer T2U Plus adapter with RTL8821AU and I would like to use it on my PC, could you help me? PD: I have tried to install the Linux subsystem but I get an error, so I tried something from this post although I don't know how to use it https://github.com/skycocker/chromebrew
- What about Linux?
- is cross limitless shell?
- This sub right now
-
Chrome OS Adventure Installing firefox
I see, to give you a point of view i should mention that Chrome OS itself is a Linux, to test what i mean you can press ctrl+alt+t and crosh terminal window will open(it is different than Linux development environment), now type "uname -a" and you'll see which kernel version it is, and it is actually capable of running regular GNU/Linux applications as expected(*See chromebrew for real world example). Why did they chose virtual machine approach for running regular GNU/Linux applications is for babysitting reasons, and embracing web apps as it is made as thin client rather than full blown OS.
- With verity disabled, can apt pkg system be installed on cloudReady
-
Do GNOME Shell extensions work in Chrome OS?
Or you could install Chromebrew and use sommelier
-
Do you use ChromeOS as intended?
As a Chromebrew dev... lololol. :)
-
Trying to understand what Chrome OS/Crostini really is and getting a clear hierarchical diagram in my head..
2- The terminal you see when you activate Linux support is not the terminal of Chrome OS itself but the terminal of virtual machine called Crostini.Although Chrome OS itself is capable of running containers running on top of same kernel(Crouton for real world example) or running GNU/Linux apps even without needing Crostini virtual machine(Flatpak support on the Cloudready and Chromebrew Package Manager directly running on top of Chrome OS for the real world example), see the page below for understanding why they chose this approach(TL; DR Babysitting reasons for someone who uses sudo for everything):
-
Would you guys consider Chrome OS a Linux distro?
Chrome OS itself is pretty much capable of running regular GNU/Linux programs without needing a virtual machine like Crostini, there is even a package manager for it. However like i said Google chooses only using web apps route, Crostini is meant to be only for development purposes and pretty much limited like usb or internal hardware access(like camera) and even the screen sharing itself.
What are some alternatives?
Subversion - Mirror of Apache Subversion
HomeBrew - 🍺 The missing package manager for macOS (or Linux)
linux - Linux kernel source tree
crouton - Chromium OS Universal Chroot Environment (EOL)
jj - A Git-compatible VCS that is both simple and powerful [Moved to: https://github.com/jj-vcs/jj]
redroid-doc - redroid (Remote-Android) is a multi-arch, GPU enabled, Android in Cloud solution. Track issues / docs here