background preloader

Github

Facebook Twitter

Bitbucket vs. GitHub: Which project host has the most? | Application Development. The question is not "Do I host my source code? " If you're a one-person shop, the answer should be yes. If you're a midsized consulting firm, the answer should be yes. If you're a huge distributed product company, the answer should be yes. You get the picture. The real question: "With whom do I host my source code? " The answer to that question is not as straightforward as the first and will require more thought and research. [ Learn how to work smarter, not harder with InfoWorld's roundup of all the tips and trends programmers need to know in the Developers' Survival Guide. At the company I work for, we hosted our own source code up until a drunk driver ran into our office building, and shortly thereafter we faced the same question.

RCS supportWhich RCS (revision control system) you use could end the search for you right off the bat. GitHub supports Git, end of story. Bitbucket vs. We had been using Subversion, so we were out of luck for both GitHub and Bitbucket. Reset Demystified. One of the topics that I didn't cover in depth in the Pro Git book is the reset command. Most of the reason for this, honestly, is that I never strongly understood the command beyond the handful of specific use cases that I needed it for. I knew what the command did, but not really how it was designed to work. Since then I have become more comfortable with the command, largely thanks to Mark Dominus's article re-phrasing the content of the man-page, which I always found very difficult to follow.

After reading that explanation of the command, I now personally feel more comfortable using reset and enjoy trying to help others feel the same way. This post assumes some basic understanding of how Git branching works. If you don't really know what HEAD and the Index are on a basic level, you might want to read chapters 2 and 3 of this book before reading this post. The Three Trees of Git Git as a system manages and manipulates three trees in its normal operation.

The Workflow The Role of Reset. Prefácio. Git é um canivete suíço do controle de versões. Uma ferramenta polivalente realmente versátil, cuja extraordinária flexibilidade torna-o complicado de aprender, principalmente sozinho. Como Arthur C. Clarke observou, "Qualquer tecnologia suficientemente avançada é considerada mágica”. Esta é uma ótima forma de abordar o Git: novatos podem ignorar seu funcionamento interno e vê-lo como algo divertido que pode agradar aos amigos e enfurecer os inimigos com suas maravilhosas habilidades.

Ao invés de entrar em detalhes, forneceremos apenas instruções para casos específicos. É com grande orgulho que vejo o grande número de pessoas que trabalho na tradução deste livro. Dustin Sallings, Alberto Bertogli, James Cameron, Douglas Livingstone, Michael Budde, Richard Albury, Tarmigan, Derek Mahar, Frode Aannevik, Keith Rarick, Andy Somerville, Ralf Recker, Øyvind A. François Marier mantém o pacote Debian criado originalmente por Daniel Baumann. John Hinnegan por ter adquirido o domínio gitmagic.com. Preface. Git is a version control Swiss army knife. A reliable versatile multipurpose revision control tool whose extraordinary flexibility makes it tricky to learn, let alone master.

As Arthur C. Clarke observed, any sufficiently advanced technology is indistinguishable from magic. This is a great way to approach Git: newbies can ignore its inner workings and view Git as a gizmo that can amaze friends and infuriate enemies with its wondrous abilities. Rather than go into details, we provide rough instructions for particular effects. I’m humbled that so many people have worked on translations of these pages. Dustin Sallings, Alberto Bertogli, James Cameron, Douglas Livingstone, Michael Budde, Richard Albury, Tarmigan, Derek Mahar, Frode Aannevik, Keith Rarick, Andy Somerville, Ralf Recker, Øyvind A. François Marier maintains the Debian package originally created by Daniel Baumann. My gratitude goes to many others for your support and praise.

Or from one of the mirrors: Git ready » learn git one commit at a time.

Git

Installing Git. Before you start using Git, you have to make it available on your computer. Even if it’s already installed, it’s probably a good idea to update to the latest version. You can either install it as a package or via another installer, or download the source code and compile it yourself. Installing on Linux If you want to install the basic Git tools on Linux via a binary installer, you can generally do so through the package management tool that comes with your distribution. If you’re on Fedora (or any closely-related RPM-based distribution, such as RHEL or CentOS), you can use dnf: $ sudo dnf install git-all If you’re on a Debian-based distribution, such as Ubuntu, try apt: $ sudo apt install git-all Installing on macOS There are several ways to install Git on a Mac. If you don’t have it installed already, it will prompt you to install it. If you want a more up to date version, you can also install it via a binary installer.

Figure 7. Installing from Source $ sudo apt-get install install-info.