The Notes for Professionals book is compiled from Stack Overflow Documentation, the content is written by the beautiful people at Stack Overflow. Text content is released under Creative Commons BY-SA. See credits at the end of this book whom contributed to the various chapters. Images may be copyright of their respective owners unless otherwise specified
Book created for educational purposes and is not affiliated with group(s), company(s) nor Stack Overflow. All trademarks belong to their respective company owners
https://goalkicker.com/
章節目錄
1-1Content list
1-2About
1-3Chapter 1: Getting started with Git
1-4Section 1.1: Create your first repository, then add and commit files
1-5Section 1.2: Clone a repository
1-6Section 1.3: Sharing code
1-7Section 1.4: Setting your user name and email
1-8Section 1.5: Setting up the upstream remote
1-9Section 1.6: Learning about a command
1-10Section 1.7: Set up SSH for Git
1-11Section 1.8: Git Installation
1-12Chapter 2: Browsing the history
1-13Section 2.1: "Regular" Git Log
1-14Section 2.2: Prettier log
1-15Section 2.3: Colorize Logs
1-16Section 2.4: Oneline log
1-17Section 2.5: Log search
1-18Section 2.6: List all contributions grouped by author name
1-19Section 2.7: Searching commit string in git log
1-20Section 2.8: Log for a range of lines within a file
1-21Section 2.9: Filter logs
1-22Section 2.10: Log with changes inline
1-23Section 2.11: Log showing commited files
1-24Section 2.12: Show the contents of a single commit
1-25Section 2.13: Git Log Between Two Branches
1-26Section 2.14: One line showing commiter name and time since commit
1-27Chapter 3: Working with Remotes
1-28Section 3.1: Deleting a Remote Branch
1-29Section 3.2: Changing Git Remote URL
1-30Section 3.3: List Existing Remotes
1-31Section 3.4: Removing Local Copies of Deleted Remote Branches
1-32Section 3.5: Updating from Upstream Repository
1-33Section 3.6: ls-remote
1-34Section 3.7: Adding a New Remote Repository
1-35Section 3.8: Set Upstream on a New Branch
1-36Section 3.9: Getting Started
1-37Section 3.10: Renaming a Remote
1-38Section 3.11: Show information about a Specific Remote
1-39Section 3.12: Set the URL for a Specific Remote
1-40Section 3.13: Get the URL for a Specific Remote
1-41Section 3.14: Changing a Remote Repository
1-42Chapter 4: Staging
1-43Section 4.1: Staging All Changes to Files
1-44Section 4.2: Unstage a file that contains changes
1-45Section 4.3: Add changes by hunk
1-46Section 4.4: Interactive add
1-47Section 4.5: Show Staged Changes
1-48Section 4.6: Staging A Single File
1-49Section 4.7: Stage deleted files
1-50Chapter 5: Ignoring Files and Folders
1-51Section 5.1: Ignoring files and directories with a .gitignore file
1-52Section 5.2: Checking if a file is ignored
1-53Section 5.3: Exceptions in a .gitignore file
1-54Section 5.4: A global .gitignore file
1-55Section 5.5: Ignore files that have already been committed to a Git repository
1-56Section 5.6: Ignore files locally without committing ignore rules
1-57Section 5.7: Ignoring subsequent changes to a file (without removing it)
1-58Section 5.8: Ignoring a file in any directory
1-59Section 5.9: Prefilled .gitignore Templates
1-60Section 5.10: Ignoring files in subfolders (Multiple gitignore files)
1-61Section 5.11: Create an Empty Folder
1-62Section 5.12: Finding files ignored by .gitignore
1-63Section 5.13: Ignoring only part of a file [stub]
1-64Section 5.14: Ignoring changes in tracked files. [stub]
1-65Section 5.15: Clear already committed files, but included in .gitignore
1-66Chapter 6: Git Di
1-67Section 6.1: Show dierences in working branch
1-68Section 6.2: Show changes between two commits
1-69Section 6.3: Show dierences for staged files
1-70Section 6.4: Comparing branches
1-71Section 6.5: Show both staged and unstaged changes
1-72Section 6.6: Show dierences for a specific file or directory
1-73Section 6.7: Viewing a word-di for long lines
1-74Section 6.8: Show dierences between current version and last version
1-75Section 6.9: Produce a patch-compatible di
1-76Section 6.10: dierence between two commit or branch
1-77Section 6.11: Using meld to see all modifications in the working directory
1-78Section 6.12: Di UTF-16 encoded text and binary plist files
1-79Chapter 7: Undoing
1-80Section 7.1: Return to a previous commit
1-81Section 7.2: Undoing changes
1-82Section 7.3: Using reflog
1-83Section 7.4: Undoing merges
1-84Section 7.5: Revert some existing commits
1-85Section 7.6: Undo / Redo a series of commits
1-86Chapter 8: Merging
1-87Section 8.1: Automatic Merging
1-88Section 8.2: Finding all branches with no merged changes
1-89Section 8.3: Aborting a merge
1-90Section 8.4: Merge with a commit
1-91Section 8.5: Keep changes from only one side of a merge
1-92Section 8.6: Merge one branch into another
1-93Chapter 9: Submodules
1-94Section 9.1: Cloning a Git repository having submodules
1-95Section 9.2: Updating a Submodule
1-96Section 9.3: Adding a submodule
1-97Section 9.4: Setting a submodule to follow a branch
1-98Section 9.5: Moving a submodule
1-99Section 9.6: Removing a submodule
1-100Chapter 10: Committing
1-101Section 10.1: Stage and commit changes
1-102Section 10.2: Good commit messages
1-103Section 10.3: Amending a commit
1-104Section 10.4: Committing without opening an editor
1-105Section 10.5: Committing changes directly
1-106Section 10.6: Selecting which lines should be staged for committing
1-107Section 10.7: Creating an empty commit
1-108Section 10.8: Committing on behalf of someone else
1-109Section 10.9: GPG signing commits
1-110Section 10.10: Commiting changes in specific files
1-111Section 10.11: Committing at a specific date
1-112Section 10.12: Amending the time of a commit
1-113Section 10.13: Amending the author of a commit