Doing More with Git
Brent Laster · 2016
This chapter covers some less common, but nonetheless, very useful, commands that are available in Git. It begins with some commands for working with file and directory organization in local environment. When working with OS, there are basic applications and commands for simple workflows, such as creating and locating files, seeing what's in the file system, and switching between directories. However, there are also supporting commands for doing things like copying, renaming, and deleting content. Git also provides these commands for content that it manages. The chapter looks at some of these layout commands in Git, focusing on three commands in particular: stash, mv, and rm. These commands also introduce new interaction with the staging area. The chapter discusses how this interaction works and what it means for the user. The pop option works like the apply option, but it removes the element from the queue after updating the environment.