Search

Nalezeno "Git": 64

Git Pathspecs and How to Use Them


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


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


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


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


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


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


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


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


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...

The Smart Ways to Correct Mistakes in Git


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


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


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


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


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


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


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


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


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

Nahoru
Tento web používá k poskytování služeb a analýze návštěvnosti soubory cookie. Používáním tohoto webu s tímto souhlasíte. Další informace