From ed2f41b0d835d259f74bee377ab0bdce0724db0b Mon Sep 17 00:00:00 2001 From: Isabelle Viktoria Maciohsek Date: Sun, 13 Jun 2021 19:47:48 +0300 Subject: [PATCH] Bake dates into snippets --- snippets/add-submodule.md | 2 ++ snippets/apply-latest-stash.md | 2 ++ snippets/apply-stash.md | 2 ++ snippets/autocorrect.md | 2 ++ snippets/automatic-find-commit-with-bug.md | 2 ++ snippets/branches-containing-commit.md | 2 ++ snippets/branches-not-containing-commit.md | 2 ++ snippets/change-remote-url.md | 2 ++ snippets/clone-missing-submodules.md | 2 ++ snippets/clone-repo.md | 2 ++ snippets/commit-set-author.md | 2 ++ snippets/commit-template.md | 2 ++ snippets/commit-without-hooks.md | 2 ++ snippets/config-user.md | 2 ++ snippets/copy-file-from-branch.md | 2 ++ snippets/create-branch.md | 2 ++ snippets/create-commit.md | 2 ++ snippets/create-empty-commit.md | 2 ++ snippets/create-fixup-commit.md | 2 ++ snippets/create-repo.md | 2 ++ snippets/current-branch-name.md | 2 ++ snippets/delete-branch.md | 2 ++ snippets/delete-detached-branches.md | 2 ++ snippets/delete-merged-branches.md | 2 ++ snippets/delete-remote-branch.md | 2 ++ snippets/delete-stash.md | 2 ++ snippets/delete-stashes.md | 2 ++ snippets/delete-submodule.md | 2 ++ snippets/difference-between-branches.md | 2 ++ snippets/discard-uncommitted.md | 2 ++ snippets/discard-untracked.md | 2 ++ snippets/edit-config.md | 2 ++ snippets/fetch-changes.md | 2 ++ snippets/find-lost-files.md | 2 ++ snippets/force-update-remote-branch.md | 2 ++ snippets/interactive-rebase.md | 2 ++ snippets/line-endings.md | 2 ++ snippets/list-aliases.md | 2 ++ snippets/list-stashes.md | 2 ++ snippets/manual-find-commit-with-bug.md | 2 ++ snippets/merge-branch-merge-commit.md | 2 ++ snippets/merge-branch.md | 2 ++ snippets/move-commits-to-branch.md | 2 ++ snippets/optimize-repository.md | 2 ++ snippets/pick-commits.md | 2 ++ snippets/pull-all-submodules.md | 2 ++ snippets/pull-changes.md | 2 ++ snippets/purge-file.md | 2 ++ snippets/push-changes.md | 2 ++ snippets/rebase-onto-branch.md | 2 ++ snippets/remove-file-from-commit.md | 2 ++ snippets/rename-branch.md | 2 ++ snippets/rename-remote-branch.md | 2 ++ snippets/reset-master.md | 2 ++ snippets/restore-deleted-file.md | 2 ++ snippets/rewind-n-commits.md | 2 ++ snippets/rewind-to-commit.md | 2 ++ snippets/save-stash.md | 2 ++ snippets/set-text-editor.md | 2 ++ snippets/sort-branches-by-date.md | 2 ++ snippets/stage-files.md | 2 ++ snippets/switch-to-branch.md | 2 ++ snippets/switch-to-last-branch.md | 2 ++ snippets/undo-commit.md | 2 ++ snippets/undo-last-commit.md | 2 ++ snippets/unstage-files.md | 2 ++ snippets/update-commit-contents.md | 2 ++ snippets/update-commit-message.md | 2 ++ snippets/view-all-branches.md | 2 ++ snippets/view-changes-summary.md | 2 ++ snippets/view-commit-graph.md | 2 ++ snippets/view-commits-by-author.md | 2 ++ snippets/view-commits-by-string.md | 2 ++ snippets/view-commits-in-date-range.md | 2 ++ snippets/view-commits-summary-no-merges.md | 2 ++ snippets/view-commits-summary.md | 2 ++ snippets/view-differences.md | 2 ++ snippets/view-last-commit.md | 2 ++ snippets/view-merged-branches.md | 2 ++ snippets/view-remote-url.md | 2 ++ snippets/view-status.md | 2 ++ snippets/view-undo-history.md | 2 ++ 82 files changed, 164 insertions(+) diff --git a/snippets/add-submodule.md b/snippets/add-submodule.md index 5dab25fdc..a5d579850 100644 --- a/snippets/add-submodule.md +++ b/snippets/add-submodule.md @@ -1,6 +1,8 @@ --- title: Add a submodule tags: repository,submodule,advanced +firstSeen: 2021-04-08T20:05:15+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Adds a new submodule to the repository. diff --git a/snippets/apply-latest-stash.md b/snippets/apply-latest-stash.md index 632c256db..3be0af55d 100644 --- a/snippets/apply-latest-stash.md +++ b/snippets/apply-latest-stash.md @@ -1,6 +1,8 @@ --- title: Apply the latest stash tags: repository,stash,intermediate +firstSeen: 2021-04-13T19:36:57+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Applies the latest stash. diff --git a/snippets/apply-stash.md b/snippets/apply-stash.md index a6a6a3099..21b5a59af 100644 --- a/snippets/apply-stash.md +++ b/snippets/apply-stash.md @@ -1,6 +1,8 @@ --- title: Apply a stash tags: repository,stash,intermediate +firstSeen: 2021-04-13T19:36:57+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Applies a specific stash. diff --git a/snippets/autocorrect.md b/snippets/autocorrect.md index 8ab5086d0..0c36f524d 100644 --- a/snippets/autocorrect.md +++ b/snippets/autocorrect.md @@ -1,6 +1,8 @@ --- title: Autocorrect git commands tags: configuration,intermediate +firstSeen: 2021-04-06T20:58:33+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Configures git to autocorrect mistyped commands. diff --git a/snippets/automatic-find-commit-with-bug.md b/snippets/automatic-find-commit-with-bug.md index 523fb61d8..5cc2765ed 100644 --- a/snippets/automatic-find-commit-with-bug.md +++ b/snippets/automatic-find-commit-with-bug.md @@ -1,6 +1,8 @@ --- title: Automatically find the commit that introduced a bug tags: commit,branch,advanced +firstSeen: 2021-04-13T20:00:22+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Uses a binary search algorithm and a given script to find which commit in history introduced a bug. diff --git a/snippets/branches-containing-commit.md b/snippets/branches-containing-commit.md index b4c5626a2..3f6d6b0d9 100644 --- a/snippets/branches-containing-commit.md +++ b/snippets/branches-containing-commit.md @@ -1,6 +1,8 @@ --- title: Find branches containing a commit tags: branch,commit,intermediate +firstSeen: 2021-04-05T09:47:59+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Prints all the branches containing a specific commit. diff --git a/snippets/branches-not-containing-commit.md b/snippets/branches-not-containing-commit.md index 816494a28..c16a6f363 100644 --- a/snippets/branches-not-containing-commit.md +++ b/snippets/branches-not-containing-commit.md @@ -1,6 +1,8 @@ --- title: Find branches not containing a commit tags: branch,commit,intermediate +firstSeen: 2021-04-05T09:47:59+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Prints all the branches not containing a specific commit. diff --git a/snippets/change-remote-url.md b/snippets/change-remote-url.md index d42629843..725740222 100644 --- a/snippets/change-remote-url.md +++ b/snippets/change-remote-url.md @@ -1,6 +1,8 @@ --- title: Change the remote URL tags: repository,intermediate +firstSeen: 2021-04-08T19:42:57+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Changes the URL of the remote repository. diff --git a/snippets/clone-missing-submodules.md b/snippets/clone-missing-submodules.md index 6c6a2b6b6..ee0f8dbb2 100644 --- a/snippets/clone-missing-submodules.md +++ b/snippets/clone-missing-submodules.md @@ -1,6 +1,8 @@ --- title: Clone missing submodules tags: repository,submodule,advanced +firstSeen: 2021-04-08T20:05:15+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Clones missing submodules and checks out commits. diff --git a/snippets/clone-repo.md b/snippets/clone-repo.md index 04e2ea834..e4e6e03b7 100644 --- a/snippets/clone-repo.md +++ b/snippets/clone-repo.md @@ -1,6 +1,8 @@ --- title: Clone a repository tags: repository,remote,beginner +firstSeen: 2021-04-04T14:04:05+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Clones an existing repository, creating a local copy of it. diff --git a/snippets/commit-set-author.md b/snippets/commit-set-author.md index 04eb47ce2..99b6f484a 100644 --- a/snippets/commit-set-author.md +++ b/snippets/commit-set-author.md @@ -1,6 +1,8 @@ --- title: Create a commit by a different author tags: commit,intermediate +firstSeen: 2021-04-13T20:07:27+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Creates a new commit by the specified author. diff --git a/snippets/commit-template.md b/snippets/commit-template.md index ecd93645d..4b41aa530 100644 --- a/snippets/commit-template.md +++ b/snippets/commit-template.md @@ -1,6 +1,8 @@ --- title: Add a commit message template tags: repository,configuration,advanced +firstSeen: 2021-04-06T21:35:01+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Sets up a commit message template for the current repository. diff --git a/snippets/commit-without-hooks.md b/snippets/commit-without-hooks.md index c8612689b..095fb1d36 100644 --- a/snippets/commit-without-hooks.md +++ b/snippets/commit-without-hooks.md @@ -1,6 +1,8 @@ --- title: Commit without running git hooks tags: commit,intermediate +firstSeen: 2021-04-04T20:55:26+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Creates a new commit skipping the pre-commit and commit-msg hooks. diff --git a/snippets/config-user.md b/snippets/config-user.md index 328128570..f8170033e 100644 --- a/snippets/config-user.md +++ b/snippets/config-user.md @@ -1,6 +1,8 @@ --- title: Configure git user information tags: configuration,repository,beginner +firstSeen: 2021-04-04T21:25:22+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Configures user information for git. diff --git a/snippets/copy-file-from-branch.md b/snippets/copy-file-from-branch.md index d3ad88753..9f95678cc 100644 --- a/snippets/copy-file-from-branch.md +++ b/snippets/copy-file-from-branch.md @@ -1,6 +1,8 @@ --- title: Copy a file from another branch tags: branch,intermediate +firstSeen: 2021-04-06T20:58:25+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Copies a file from another branch to the current branch. diff --git a/snippets/create-branch.md b/snippets/create-branch.md index 055943b15..3155202c6 100644 --- a/snippets/create-branch.md +++ b/snippets/create-branch.md @@ -1,6 +1,8 @@ --- title: Create a new branch tags: branch,remote,beginner +firstSeen: 2021-04-04T14:09:09+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Creates and switches to a new branch, optionally setting up a remote tracking branch. diff --git a/snippets/create-commit.md b/snippets/create-commit.md index 8d6833002..213e6673d 100644 --- a/snippets/create-commit.md +++ b/snippets/create-commit.md @@ -1,6 +1,8 @@ --- title: Create a commit tags: commit,beginner +firstSeen: 2021-04-04T14:16:38+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Creates a new commit containing the staged changes. diff --git a/snippets/create-empty-commit.md b/snippets/create-empty-commit.md index f3e2ecdee..524f82f73 100644 --- a/snippets/create-empty-commit.md +++ b/snippets/create-empty-commit.md @@ -1,6 +1,8 @@ --- title: Create an empty commit tags: commit,beginner +firstSeen: 2021-04-04T20:55:26+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Creates an empty commit. diff --git a/snippets/create-fixup-commit.md b/snippets/create-fixup-commit.md index dcdc3b1a1..90bf9836c 100644 --- a/snippets/create-fixup-commit.md +++ b/snippets/create-fixup-commit.md @@ -1,6 +1,8 @@ --- title: Create a fixup commit tags: commit,advanced +firstSeen: 2021-04-08T19:51:24+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Creates a fixup commit that can be autosquashed in the next rebase. diff --git a/snippets/create-repo.md b/snippets/create-repo.md index c6a462c9a..8b3ecc3b3 100644 --- a/snippets/create-repo.md +++ b/snippets/create-repo.md @@ -1,6 +1,8 @@ --- title: Create a new repository tags: repository,beginner +firstSeen: 2021-04-04T14:04:05+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Initializes a new git repository, setting up all the configuration files needed by git. diff --git a/snippets/current-branch-name.md b/snippets/current-branch-name.md index c814a5139..ddea39b8e 100644 --- a/snippets/current-branch-name.md +++ b/snippets/current-branch-name.md @@ -1,6 +1,8 @@ --- title: Get the current branch name tags: branch,beginner +firstSeen: 2021-04-04T21:50:46+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Prints the current branch name. diff --git a/snippets/delete-branch.md b/snippets/delete-branch.md index 1a9b57a8c..69e97a23d 100644 --- a/snippets/delete-branch.md +++ b/snippets/delete-branch.md @@ -1,6 +1,8 @@ --- title: Delete a branch tags: repository,branch,intermediate +firstSeen: 2021-04-04T21:50:29+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Deletes a local branch. diff --git a/snippets/delete-detached-branches.md b/snippets/delete-detached-branches.md index 4b5b2c023..35363e614 100644 --- a/snippets/delete-detached-branches.md +++ b/snippets/delete-detached-branches.md @@ -1,6 +1,8 @@ --- title: Delete detached branches tags: repository,branch,intermediate +firstSeen: 2021-04-08T19:42:01+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Deletes all detached branches. diff --git a/snippets/delete-merged-branches.md b/snippets/delete-merged-branches.md index ee189cad6..b6288456d 100644 --- a/snippets/delete-merged-branches.md +++ b/snippets/delete-merged-branches.md @@ -1,6 +1,8 @@ --- title: Delete merged branches tags: repository,branch,advanced +firstSeen: 2021-04-08T19:42:01+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Deletes all local merged branches. diff --git a/snippets/delete-remote-branch.md b/snippets/delete-remote-branch.md index 5800592e7..efef3399c 100644 --- a/snippets/delete-remote-branch.md +++ b/snippets/delete-remote-branch.md @@ -1,6 +1,8 @@ --- title: Delete a remote branch tags: repository,branch,intermediate +firstSeen: 2021-04-08T19:42:01+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Deletes a remote branch. diff --git a/snippets/delete-stash.md b/snippets/delete-stash.md index 127261846..799e9c410 100644 --- a/snippets/delete-stash.md +++ b/snippets/delete-stash.md @@ -1,6 +1,8 @@ --- title: Delete a stash tags: repository,stash,intermediate +firstSeen: 2021-04-13T19:36:57+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Deletes a specific stash. diff --git a/snippets/delete-stashes.md b/snippets/delete-stashes.md index 2a037fce2..71d20976d 100644 --- a/snippets/delete-stashes.md +++ b/snippets/delete-stashes.md @@ -1,6 +1,8 @@ --- title: Delete all stashes tags: repository,stash,intermediate +firstSeen: 2021-04-13T19:36:57+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Deletes all stashes. diff --git a/snippets/delete-submodule.md b/snippets/delete-submodule.md index 261b79912..39dd6fdea 100644 --- a/snippets/delete-submodule.md +++ b/snippets/delete-submodule.md @@ -1,6 +1,8 @@ --- title: Delete a submodule tags: repository,submodule,advanced +firstSeen: 2021-04-08T20:05:15+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Deletes a submodule from the repository. diff --git a/snippets/difference-between-branches.md b/snippets/difference-between-branches.md index 1bc764cef..2c5ea43ca 100644 --- a/snippets/difference-between-branches.md +++ b/snippets/difference-between-branches.md @@ -1,6 +1,8 @@ --- title: View difference between two branches tags: branch,intermediate +firstSeen: 2021-04-08T16:30:44+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Displays the difference between two branches. diff --git a/snippets/discard-uncommitted.md b/snippets/discard-uncommitted.md index 03cef533d..ab9897914 100644 --- a/snippets/discard-uncommitted.md +++ b/snippets/discard-uncommitted.md @@ -1,6 +1,8 @@ --- title: Discard uncommitted changes tags: branch,intermediate +firstSeen: 2021-04-06T11:11:08+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Discards all uncommitted changes to the current branch. diff --git a/snippets/discard-untracked.md b/snippets/discard-untracked.md index b6099c184..5ede22af6 100644 --- a/snippets/discard-untracked.md +++ b/snippets/discard-untracked.md @@ -1,6 +1,8 @@ --- title: Discard untracked changes tags: branch,intermediate +firstSeen: 2021-04-06T11:11:08+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Discards all untracked changes to the current branch. diff --git a/snippets/edit-config.md b/snippets/edit-config.md index 9909fd3dd..11907e08e 100644 --- a/snippets/edit-config.md +++ b/snippets/edit-config.md @@ -1,6 +1,8 @@ --- title: Edit git configuration file tags: configuration,beginner +firstSeen: 2021-04-04T21:25:22+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Opens the git configuration file in the git text editor. diff --git a/snippets/fetch-changes.md b/snippets/fetch-changes.md index 417304ac5..7128ccd0c 100644 --- a/snippets/fetch-changes.md +++ b/snippets/fetch-changes.md @@ -1,6 +1,8 @@ --- title: Fetch latest changes from remote tags: repository,beginner +firstSeen: 2021-04-08T19:43:13+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Fetches the latest changes from the remote. diff --git a/snippets/find-lost-files.md b/snippets/find-lost-files.md index 901048374..89b43eb5e 100644 --- a/snippets/find-lost-files.md +++ b/snippets/find-lost-files.md @@ -1,6 +1,8 @@ --- title: Find lost files tags: repository,advanced +firstSeen: 2021-04-06T21:35:01+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Prints a list of lost files and commits. diff --git a/snippets/force-update-remote-branch.md b/snippets/force-update-remote-branch.md index 4dca1a016..355074e59 100644 --- a/snippets/force-update-remote-branch.md +++ b/snippets/force-update-remote-branch.md @@ -1,6 +1,8 @@ --- title: Update remote branch after rewriting history tags: branch,intermediate +firstSeen: 2021-04-06T19:47:19+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Forces an update of the remote branch adter rewriting the history locally. diff --git a/snippets/interactive-rebase.md b/snippets/interactive-rebase.md index e3504c638..1fc656c62 100644 --- a/snippets/interactive-rebase.md +++ b/snippets/interactive-rebase.md @@ -1,6 +1,8 @@ --- title: Perform an interactive rebase tags: branch,advanced +firstSeen: 2021-04-08T20:10:35+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Performs an interactive rebase. diff --git a/snippets/line-endings.md b/snippets/line-endings.md index 507ad61fc..0d6abeafb 100644 --- a/snippets/line-endings.md +++ b/snippets/line-endings.md @@ -1,6 +1,8 @@ --- title: Configure line endings tags: repository,configuration,intermediate +firstSeen: 2021-04-06T21:35:01+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Configures the line endings for a repository. diff --git a/snippets/list-aliases.md b/snippets/list-aliases.md index 1251b2c27..8a12606d1 100644 --- a/snippets/list-aliases.md +++ b/snippets/list-aliases.md @@ -1,6 +1,8 @@ --- title: List all git aliases tags: configuration,intermediate +firstSeen: 2021-04-04T21:25:22+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Prints a list of all git aliases. diff --git a/snippets/list-stashes.md b/snippets/list-stashes.md index bcadcbfe6..58b3fedce 100644 --- a/snippets/list-stashes.md +++ b/snippets/list-stashes.md @@ -1,6 +1,8 @@ --- title: Lists all stashes tags: repository,stash,intermediate +firstSeen: 2021-04-13T19:36:57+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Displays a list of all stashes. diff --git a/snippets/manual-find-commit-with-bug.md b/snippets/manual-find-commit-with-bug.md index a693debe7..ee6c53b20 100644 --- a/snippets/manual-find-commit-with-bug.md +++ b/snippets/manual-find-commit-with-bug.md @@ -1,6 +1,8 @@ --- title: Manually find the commit that introduced a bug tags: commit,branch,advanced +firstSeen: 2021-04-13T20:00:22+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Uses a binary search algorithm to manually find which commit in history introduced a bug. diff --git a/snippets/merge-branch-merge-commit.md b/snippets/merge-branch-merge-commit.md index d0039f11e..5dedcdd3a 100644 --- a/snippets/merge-branch-merge-commit.md +++ b/snippets/merge-branch-merge-commit.md @@ -1,6 +1,8 @@ --- title: Merge a branch and create a merge commit tags: repository,branch,intermediate +firstSeen: 2021-04-04T21:50:11+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Merges a branch into the current branch, creating a merge commit. diff --git a/snippets/merge-branch.md b/snippets/merge-branch.md index 70e9a9c38..10c7c1c91 100644 --- a/snippets/merge-branch.md +++ b/snippets/merge-branch.md @@ -1,6 +1,8 @@ --- title: Merge a branch tags: repository,branch,beginner +firstSeen: 2021-04-04T21:50:11+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Merges a branch into the current branch. diff --git a/snippets/move-commits-to-branch.md b/snippets/move-commits-to-branch.md index 18b9d06e9..90351445d 100644 --- a/snippets/move-commits-to-branch.md +++ b/snippets/move-commits-to-branch.md @@ -1,6 +1,8 @@ --- title: Move commits from master to a new branch tags: branch,repository,intermediate +firstSeen: 2021-04-06T21:35:01+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Moves local commits from the `master` branch to a new branch. diff --git a/snippets/optimize-repository.md b/snippets/optimize-repository.md index 12ff2ae00..e86dfae1e 100644 --- a/snippets/optimize-repository.md +++ b/snippets/optimize-repository.md @@ -1,6 +1,8 @@ --- title: Optimize the local repository tags: repository,advanced +firstSeen: 2021-04-08T19:42:43+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Optimizes the local repository. diff --git a/snippets/pick-commits.md b/snippets/pick-commits.md index d6e0a599f..a66810bd3 100644 --- a/snippets/pick-commits.md +++ b/snippets/pick-commits.md @@ -1,6 +1,8 @@ --- title: Pick changes from one or more commits tags: commit,branch,intermediate +firstSeen: 2021-04-08T16:42:37+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Applies the changes introduced by one or more commits. diff --git a/snippets/pull-all-submodules.md b/snippets/pull-all-submodules.md index bed3bbdfa..964cf83c7 100644 --- a/snippets/pull-all-submodules.md +++ b/snippets/pull-all-submodules.md @@ -1,6 +1,8 @@ --- title: Pull all submodules from remote tags: repository,submodule,advanced +firstSeen: 2021-04-08T20:05:15+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Pulls all submodules from their respective remotes. diff --git a/snippets/pull-changes.md b/snippets/pull-changes.md index 780e88b22..2b8dad551 100644 --- a/snippets/pull-changes.md +++ b/snippets/pull-changes.md @@ -1,6 +1,8 @@ --- title: Pull latest changes from remote tags: repository,branch,beginner +firstSeen: 2021-04-08T19:42:23+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Pulls the latest changes from the remote tracking branch. diff --git a/snippets/purge-file.md b/snippets/purge-file.md index 1a29daa03..ec216a32f 100644 --- a/snippets/purge-file.md +++ b/snippets/purge-file.md @@ -1,6 +1,8 @@ --- title: Purge a file from history tags: repository,remote,advanced +firstSeen: 2021-04-13T20:20:57+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Completely purges a file from history. diff --git a/snippets/push-changes.md b/snippets/push-changes.md index 9c162cb5c..ccadbdef7 100644 --- a/snippets/push-changes.md +++ b/snippets/push-changes.md @@ -1,6 +1,8 @@ --- title: Push local changes to remote tags: repository,branch,beginner +firstSeen: 2021-04-08T19:42:23+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Pushes the current branch's changes to the remote. diff --git a/snippets/rebase-onto-branch.md b/snippets/rebase-onto-branch.md index 557887193..a281ff156 100644 --- a/snippets/rebase-onto-branch.md +++ b/snippets/rebase-onto-branch.md @@ -1,6 +1,8 @@ --- title: Rebase onto another branch tags: branch,advanced +firstSeen: 2021-04-05T11:19:54+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Rebases the current branch onto another branch. diff --git a/snippets/remove-file-from-commit.md b/snippets/remove-file-from-commit.md index 14b00b7be..796b19990 100644 --- a/snippets/remove-file-from-commit.md +++ b/snippets/remove-file-from-commit.md @@ -1,6 +1,8 @@ --- title: Remove a file from the last commit tags: commit,intermediate +firstSeen: 2021-04-05T11:19:41+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Removes a file from the last commit without changing its message. diff --git a/snippets/rename-branch.md b/snippets/rename-branch.md index 56160aa75..1ef9ea2bd 100644 --- a/snippets/rename-branch.md +++ b/snippets/rename-branch.md @@ -1,6 +1,8 @@ --- title: Rename a branch tags: branch,intermediate +firstSeen: 2021-04-05T09:48:16+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Renames a local branch. diff --git a/snippets/rename-remote-branch.md b/snippets/rename-remote-branch.md index 342b61d93..7600897f4 100644 --- a/snippets/rename-remote-branch.md +++ b/snippets/rename-remote-branch.md @@ -1,6 +1,8 @@ --- title: Rename remote branch tags: branch,advanced +firstSeen: 2021-04-05T09:48:16+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Renames a branch both locally and on the remote. diff --git a/snippets/reset-master.md b/snippets/reset-master.md index 79e7e23c1..3c38a3463 100644 --- a/snippets/reset-master.md +++ b/snippets/reset-master.md @@ -1,6 +1,8 @@ --- title: Reset master to match remote tags: repository,branch,intermediate +firstSeen: 2021-04-06T16:58:58+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Resets the local `master` branch to match the one on the remote. diff --git a/snippets/restore-deleted-file.md b/snippets/restore-deleted-file.md index 431df8ef0..0aeaf52af 100644 --- a/snippets/restore-deleted-file.md +++ b/snippets/restore-deleted-file.md @@ -1,6 +1,8 @@ --- title: Restore a deleted file tags: branch,intermediate +firstSeen: 2021-04-06T20:58:25+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Restores a file deleted in a specific commit. diff --git a/snippets/rewind-n-commits.md b/snippets/rewind-n-commits.md index dc85aab20..feb31c962 100644 --- a/snippets/rewind-n-commits.md +++ b/snippets/rewind-n-commits.md @@ -1,6 +1,8 @@ --- title: Rewind back n commits tags: branch,commit,intermediate +firstSeen: 2021-04-05T11:19:21+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Rewinds the current branch by a given number of commits. diff --git a/snippets/rewind-to-commit.md b/snippets/rewind-to-commit.md index 093514076..283d8ee6a 100644 --- a/snippets/rewind-to-commit.md +++ b/snippets/rewind-to-commit.md @@ -1,6 +1,8 @@ --- title: Rewind back to a specific commit tags: branch,commit,intermediate +firstSeen: 2021-04-05T11:19:21+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Rewinds the current branch by a given number of commits. diff --git a/snippets/save-stash.md b/snippets/save-stash.md index c9320e9be..e9db3f428 100644 --- a/snippets/save-stash.md +++ b/snippets/save-stash.md @@ -1,6 +1,8 @@ --- title: Create a stash tags: repository,stash,intermediate +firstSeen: 2021-04-13T19:36:57+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Saves the current state of the working directory and index into a new stash. diff --git a/snippets/set-text-editor.md b/snippets/set-text-editor.md index 916e85ade..1406f86a8 100644 --- a/snippets/set-text-editor.md +++ b/snippets/set-text-editor.md @@ -1,6 +1,8 @@ --- title: Configure the git text editor tags: configuration,intermediate +firstSeen: 2021-04-04T21:25:22+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Configures the text editor used by git. diff --git a/snippets/sort-branches-by-date.md b/snippets/sort-branches-by-date.md index f4fa79889..5c336962d 100644 --- a/snippets/sort-branches-by-date.md +++ b/snippets/sort-branches-by-date.md @@ -1,6 +1,8 @@ --- title: View branches sorted by date tags: repository,branch,intermediate +firstSeen: 2021-04-06T21:35:01+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Prints a list of all local branches sorted by date. diff --git a/snippets/stage-files.md b/snippets/stage-files.md index b7aa25e21..40a186ef5 100644 --- a/snippets/stage-files.md +++ b/snippets/stage-files.md @@ -1,6 +1,8 @@ --- title: Add files to the staging area tags: commit,beginner +firstSeen: 2021-04-06T16:39:37+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Adds files to the staging area. diff --git a/snippets/switch-to-branch.md b/snippets/switch-to-branch.md index 35a7a5ab8..362b1b006 100644 --- a/snippets/switch-to-branch.md +++ b/snippets/switch-to-branch.md @@ -1,6 +1,8 @@ --- title: Switch to a branch tags: branch,beginner +firstSeen: 2021-04-04T14:09:09+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Switches to an existing branch. diff --git a/snippets/switch-to-last-branch.md b/snippets/switch-to-last-branch.md index f8f94ce5b..60a60e7a2 100644 --- a/snippets/switch-to-last-branch.md +++ b/snippets/switch-to-last-branch.md @@ -1,6 +1,8 @@ --- title: Return to previous branch tags: branch,beginner +firstSeen: 2021-04-04T14:13:31+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Switches back to the last branch. diff --git a/snippets/undo-commit.md b/snippets/undo-commit.md index ded0264dd..09e548b12 100644 --- a/snippets/undo-commit.md +++ b/snippets/undo-commit.md @@ -1,6 +1,8 @@ --- title: Undo a commit tags: commit,branch,intermediate +firstSeen: 2021-04-06T16:54:22+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Undoes a specified commit without rewriting history. diff --git a/snippets/undo-last-commit.md b/snippets/undo-last-commit.md index 1aded2bbe..5d3d97906 100644 --- a/snippets/undo-last-commit.md +++ b/snippets/undo-last-commit.md @@ -1,6 +1,8 @@ --- title: Undo the last commit tags: commit,branch,intermediate +firstSeen: 2021-04-06T16:54:22+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Undoes the last commit without rewriting history. diff --git a/snippets/unstage-files.md b/snippets/unstage-files.md index ebf0e0644..59bcaf2da 100644 --- a/snippets/unstage-files.md +++ b/snippets/unstage-files.md @@ -1,6 +1,8 @@ --- title: Remove files from the staging area tags: commit,beginner +firstSeen: 2021-04-06T19:38:51+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Removes files from the staging area. diff --git a/snippets/update-commit-contents.md b/snippets/update-commit-contents.md index 13d26c4b2..c9e29867f 100644 --- a/snippets/update-commit-contents.md +++ b/snippets/update-commit-contents.md @@ -1,6 +1,8 @@ --- title: Edit the last commit tags: commit,intermediate +firstSeen: 2021-04-04T14:36:07+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Updates the last commit's contents without changing its message. diff --git a/snippets/update-commit-message.md b/snippets/update-commit-message.md index d4748ad8e..41941e731 100644 --- a/snippets/update-commit-message.md +++ b/snippets/update-commit-message.md @@ -1,6 +1,8 @@ --- title: Change the last commit's message tags: commit,intermediate +firstSeen: 2021-04-04T14:36:07+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Updates the last commit's message without changing its contents. diff --git a/snippets/view-all-branches.md b/snippets/view-all-branches.md index 9d1c49a1f..a09364f65 100644 --- a/snippets/view-all-branches.md +++ b/snippets/view-all-branches.md @@ -1,6 +1,8 @@ --- title: View local branches tags: repository,branch,beginner +firstSeen: 2021-04-04T14:05:57+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Prints a list of all local branches. diff --git a/snippets/view-changes-summary.md b/snippets/view-changes-summary.md index dd7afe9bc..dde66128d 100644 --- a/snippets/view-changes-summary.md +++ b/snippets/view-changes-summary.md @@ -1,6 +1,8 @@ --- title: View a summary of changes between two commits tags: repository,branch,intermediate +firstSeen: 2021-04-06T22:21:04+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Prints a summary of changes between two given commits. diff --git a/snippets/view-commit-graph.md b/snippets/view-commit-graph.md index b0e147b53..8e0d2c885 100644 --- a/snippets/view-commit-graph.md +++ b/snippets/view-commit-graph.md @@ -1,6 +1,8 @@ --- title: View a visual graph of the repository tags: repository,intermediate +firstSeen: 2021-04-06T16:28:49+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Prints a visual graph of all commits and branches in the repository. diff --git a/snippets/view-commits-by-author.md b/snippets/view-commits-by-author.md index 727268404..89ffd5304 100644 --- a/snippets/view-commits-by-author.md +++ b/snippets/view-commits-by-author.md @@ -1,6 +1,8 @@ --- title: View commits by author tags: repository,commit,intermediate +firstSeen: 2021-04-06T11:22:55+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Prints all commits by the specified author. diff --git a/snippets/view-commits-by-string.md b/snippets/view-commits-by-string.md index 0af3e11a4..f484d1786 100644 --- a/snippets/view-commits-by-string.md +++ b/snippets/view-commits-by-string.md @@ -1,6 +1,8 @@ --- title: View commits that manipulated a specific string tags: commit,intermediate +firstSeen: 2021-04-06T16:28:49+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Prints a list of all commits that manipulated a given string. diff --git a/snippets/view-commits-in-date-range.md b/snippets/view-commits-in-date-range.md index 61acddb47..d9673832a 100644 --- a/snippets/view-commits-in-date-range.md +++ b/snippets/view-commits-in-date-range.md @@ -1,6 +1,8 @@ --- title: View commits in a specific date range tags: repository,commit,intermediate +firstSeen: 2021-04-06T16:28:49+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Prints all commits in the specified date range. diff --git a/snippets/view-commits-summary-no-merges.md b/snippets/view-commits-summary-no-merges.md index 4ac1b9e71..f10e7eb76 100644 --- a/snippets/view-commits-summary-no-merges.md +++ b/snippets/view-commits-summary-no-merges.md @@ -1,6 +1,8 @@ --- title: View a short summary of commits without merge commits tags: repository,commit,intermediate +firstSeen: 2021-04-06T11:22:55+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Prints a short summary of all commits excluding merge commits. diff --git a/snippets/view-commits-summary.md b/snippets/view-commits-summary.md index 9fda48875..45d93ff26 100644 --- a/snippets/view-commits-summary.md +++ b/snippets/view-commits-summary.md @@ -1,6 +1,8 @@ --- title: View a short summary of commits tags: repository,commit,intermediate +firstSeen: 2021-04-06T11:22:55+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Prints a short summary of all commits. diff --git a/snippets/view-differences.md b/snippets/view-differences.md index 69254ae28..1dc815140 100644 --- a/snippets/view-differences.md +++ b/snippets/view-differences.md @@ -1,6 +1,8 @@ --- title: View differences in changes tags: commit,branch,intermediate +firstSeen: 2021-04-08T16:30:44+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Displays differences between staged or unstaged changes and the last commit. diff --git a/snippets/view-last-commit.md b/snippets/view-last-commit.md index 48a6d272c..1a8ce9e3a 100644 --- a/snippets/view-last-commit.md +++ b/snippets/view-last-commit.md @@ -1,6 +1,8 @@ --- title: View last commit tags: commit,intermediate +firstSeen: 2021-04-06T11:22:55+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Prints the last commit. diff --git a/snippets/view-merged-branches.md b/snippets/view-merged-branches.md index f05f6f140..f98cf6810 100644 --- a/snippets/view-merged-branches.md +++ b/snippets/view-merged-branches.md @@ -1,6 +1,8 @@ --- title: View merged branches tags: repository,branch,intermediate +firstSeen: 2021-04-08T19:43:13+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Prints a list of all merged local branches. diff --git a/snippets/view-remote-url.md b/snippets/view-remote-url.md index 9b67c216c..02159e309 100644 --- a/snippets/view-remote-url.md +++ b/snippets/view-remote-url.md @@ -1,6 +1,8 @@ --- title: View the remote URL tags: repository,intermediate +firstSeen: 2021-04-08T19:42:57+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Displays the URL of the remote repository. diff --git a/snippets/view-status.md b/snippets/view-status.md index e9415abd5..f7ee4118e 100644 --- a/snippets/view-status.md +++ b/snippets/view-status.md @@ -1,6 +1,8 @@ --- title: View current status tags: branch,beginner +firstSeen: 2021-04-06T20:58:33+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- Prints the current status of the working tree. diff --git a/snippets/view-undo-history.md b/snippets/view-undo-history.md index 0be6076e0..6e529a9c8 100644 --- a/snippets/view-undo-history.md +++ b/snippets/view-undo-history.md @@ -1,6 +1,8 @@ --- title: View "undo" history tags: repository,branch,advanced +firstSeen: 2021-04-06T16:35:56+03:00 +lastUpdated: 2021-04-13T21:10:59+03:00 --- View git's reference logs. This is especially useful for finding references that don't show up in commit history.