From 48da37e03a12ccfbd309de9b8c5c6292d7e8cd43 Mon Sep 17 00:00:00 2001 From: zleyyij Date: Wed, 23 Aug 2023 15:31:26 -0600 Subject: [PATCH] vault backup: 2023-08-23 15:31:26 --- The basics of Git.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/The basics of Git.md b/The basics of Git.md index d51b360..12d145a 100644 --- a/The basics of Git.md +++ b/The basics of Git.md @@ -55,9 +55,14 @@ Then open the project in any merge conflict resolver, and manually resolve the c ## Working with branches ### Create a new branch `git checkout -b [new-branch-name]` -- Create a new local branch, with `[new-branch-name]`, from the current branch's latest comit +- Create a new local branch, with `[new-branch-name]`, from the current branch's latest commit + ### Switch to an existing branch `git checkout [branch-name]` - Update the directory to contain the code stored in `[branch-name]` + ### Delete a branch -`git branch -d [branch-` \ No newline at end of file +`git branch -d [branch-name]` +- Delete the specified branch and all stored info + +### Pull a remote branch