Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering Git

You're reading from   Mastering Git Attain expert level proficiency with Git for enhanced productivity and efficient collaboration

Arrow left icon
Product type Paperback
Published in Apr 2016
Publisher Packt
ISBN-13 9781783553754
Length 418 pages
Edition 1st Edition
Tools
Arrow right icon
Toc

Table of Contents (14) Chapters Close

Preface 1. Git Basics in Practice 2. Exploring Project History FREE CHAPTER 3. Developing with Git 4. Managing Your Worktree 5. Collaborative Development with Git 6. Advanced Branching Techniques 7. Merging Changes Together 8. Keeping History Clean 9. Managing Subprojects – Building a Living Framework 10. Customizing and Extending Git 11. Git Administration 12. Git Best Practices Index

Conventions

In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.

Code words in text, commands and their options, folder names, filenames, file extensions, pathnames, branch and tag names, dummy URLs, user input, environment variables, configuration options and their values are shown as follows: "For example, writing git log -- foo explicitly asks for the history of a path foo."

Additionally, the following convention is used: <file> denotes user input (here, the name of a file), $HOME denotes the value of environment variable, and tilde in a pathname is used to denote user's home directory (for example ~/.gitignore).

A block of code, or a fragment of a configuration file, is set as follows:

void init_rand(void)
{
    srand(time(NULL));
}

When we wish to draw your attention to a particular part of a code block (which is quite rare), the relevant lines or items are set in bold:

void init_rand(void)
{
    srand(time(NULL));
}

Any command-line input or output is written as follows:

carol@server ~$ mkdir -p /srv/git
carol@server ~$ cd /srv/git
carol@server /srv/git$ git init --bare random.git

New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "The default description that Git gives to a stash (WIP on branch)."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime