Create a directory called
BCT
in your desktop. BCT is the acronym for Business Communication Training.Let's create a text file inside the
BCT
directory and name itparticipants
.Now open the
participants.txt
file and paste the following lines in it:Finance team
Charles
Lisa
John
Stacy
Alexander
Save and close the file.
Initiate it as a Git repository, add all the files, and make a commit as follows:
git init git add . git commit –m 'Initial list for finance team'
Now, e-mail those people followed by an e-mail to their managers and wait for the finalized list.
While they take their time to respond, you should go ahead and work on the next list, say for the marketing department. Create a new branch called
marketing
using the following syntax:git checkout –b marketing
Now open the
participants.txt
file and start entering the names for the marketing department below the finance team list, as follows:Marketing team
Collins
Linda
Patricia...
Git: Version Control for Everyone
By :
Git: Version Control for Everyone
By:
Overview of this book
<div>
<div>Git – is free software which enables you to maintain different versions of single or multiple files present inside a directory(folder), and allows you to switch back and forth between them at any given point of time. It also allows multiple people to work on the same file collaboratively or in parallel, without being connected to a server or any other centralized system continuously.<br /><br />This book is a step by step, practical guide, helping you learn the routine of version controlling all your content, every day. <br /><br />If you are an average computer user who wants to be able to maintain multiple versions of files and folders, or to go back and forth in time with respect to the files content – look no further. The workflow explained in this book will benefit anyone, no matter what kind of text or documentation they work on.<br /><br />This book will also benefit developers, administrators, analysts, architects and anyone else who wishes to perform simultaneous, collaborative work, or work in parallel on the same set of files. Git's advanced features are there to make your life easier.<br /><br /><br /><br /><br /><br /></div>
</div>
Table of Contents (16 chapters)
Git: Version Control for Everyone Beginner's Guide
Credits
About the Author
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
Breathe Easy – Introduction to Version Control System
Welcome Aboard – Installing Git
Polishing Your Routine – How to Increase Everyday Productivity
Split the Load – Distributed Working with Git
Be a Puppet Master – Learn Fancy Features to Control Git's Functions
Unleash the Beast – Git on Text-based Files
Parallel Dimensions – Branching with Git
Behind the Scenes – Basis of Git Basics
Index
Customer Reviews