Search
Git Pathspecs and How to Use Them
19.9.2019
When I was looking through the documentation of git commands, I noticed that many of them had an option for <pathspec>. I initially thought that this was just a technical way to say “path,” and assumed that it could only accept directories and filenames. After diving into the rabbit hole...
How to Contribute to an Open Source Project
9.9.2019
The following is going to get slightly opinionated and aims to guide someone on their journey into open source. As a prerequisite, you should have basic familiarity with the command line and Git. If you know the concepts and want to dive right into the step by step how-to guide, check out this part...
Getting Netlify Large Media Going
20.8.2019
I just did this the other day so I figured I'd blog it up. There is a thing called Git Large File Storage (Git LFS). Here's the entire point of it: it keeps large files out of your repo directly. Say you have 500MB of images on your site and they kinda need to be in the repo so you can work with...
Mercurial Tips
19.8.2019
While most of the world seems to be using git for version control, Mozilla continues to use Mercurial (hg) to manage the Firefox source code. As a git and GitHub lover, it took me a while to get used to Mercurial. I don’t consider myself a hg expert but I know enough to complete...
Graphical User Interfaces for Git
3.7.2019
Git is command-line-driven software, but that doesn't mean you have to use the command line to make it work. There are lots of options! Some of the deepest programmer nerds I know prefer to use GUIs for Git (Graphic
User Interface, or you know, software you can see things and click stuff), and some...
Checkout the Last Public Revision with Mercurial
19.6.2019
I’ve always preferred git over Mercurial (hg) because the feature branch workflow makes organizing code and working off of master very easy. You don’t get that with vanilla mercurial — instead, commits can just sort of apply on top of each other, without much organization....
6 Best GitHub Alternatives for Source Code Management
25.4.2019
GitHub is currently the most popular source code management and hosting platform on the web. It allows you to store and manage code repositories online, using the Git version...
The post 6 Best GitHub Alternatives for Source Code Management appeared first on Onextrapixel
Set Branch Alias with Git
28.3.2019
Version control systems can be difficult to use, especially when you don’t use a UI app. Just think about main branch or revision names: svn uses “trunk”, git uses “master”, and mercurial (hg) uses “tip”. I need to switch between mercurial and...
Set Commit Author with git or hg
24.3.2019
Knowing who authored a code patch is a sacred and important practice in the world of software engineering. Knowing the author gives the reviewer an idea of trust level, know who to ask questions about the patch, and gives credit to the genius of an important fix. There have been times when...
Sublime Text 3.2 Is Out! Git Integrated and Still Blazing Fast
14.3.2019
Sublime Text has a special place in my heart. It's the editor that made me love editors. Before that it was Notepad++ or Coda and trying to get files onto a server using FTP. Those were the days! W
Spoják #9 – #10: CSS slibuje matematiku. Promise.any slíbí cokoliv.
11.3.2019
Heslovitě: Git 2.21. Go 1.12. Flutter 1.2. Promise.any([...]). Matematika v CSS. Win10 Sandbox. Package Diff. Play.js. Flexbox vs grid. Standard C++20. Sparksoniq. GHIDRA
The Smart Ways to Correct Mistakes in Git
14.2.2019
The world of software development offers an infinite amount of ways to mess up: deleting the wrong things, coding into dead ends, littering commit messages with typos, are a mere few of the plentitude.
Fortunately, however, we have a wonderful safety net under our feet in the form of Git when...
Git fork synchronizace
5.2.2019
Už po několikáté jsem musel vzpomínat, jak správně synchronizovat forknutý repozitář z GitHubu. Znáte to také? Nejspíš ano. Pojďme si postup připomenout společně
Git Checkout at Previous Timeframe
9.1.2019
In the past I’ve blogged about checking out branches created on a specific date as well as sorting git branches by date, but one frequent usage of git and dates is checking out a commit at a given time in the past. For example, I often say “Weird, this feature was working a month...
Nejčtenější články roku 2018
31.12.2018
Co vás na Zdrojáku nejvíc zaujalo v uplynulém roce? 10 nejčtenějších článků. Docker. Otevřené .git repozitáře. Nábor. Eventloop. Přestavba Angularu. Security.txt. Atomické CSS. Webdesign 2017. PHP 7.3. Zranitelnosti dle OWASP
Mercurial: Mass Add and Remove All Files
29.10.2018
While I much prefer git and the GitHub workflow, Firefox’s codebase (mozilla-central) is store in a mercurial repository. There are tools that wrap mercurial so you can use a git-like interface, like git-cinnabar, but my philosophy is to learn the root tool so that I know what’s going...
Search Git Commits Between Dates
12.7.2018
One of my weaknesses as a developer is relying on UIs to provide me the data I need. It’s not a fatal weakness but it does hamper me a bit. One prime example is relying on GitHub’s interface to review changes; git’s command line provides the information needed with commands...
Most Important Git Commands for Web Developers
15.6.2018
Currently, Git is one of the most popular version control systems among developers. You can use it to track changes in your projects and coordinate the work of multiple...
The post Most Important Git Commands for Web Developers appeared first on Onextrapixel
How to Delete Untracked Files in a Mercurial Repository
29.5.2018
Working around Firefox at Mozilla means that you need to get acquainted with mercurial, the version control system that rivals git and svn. Like any tool, hg (mercurial) can be difficult until you’re well versed with it. And if you hg import a URL that doesn’t match up with...
Git Integration in Visual Studio Code
9.5.2018
Visual Studio Code has easily become one of the most popular editors out there for Web Development. It has gained such popularity thanks to its many built in features, including source control inte