Update frontmatter data

This commit is contained in:
Angelos Chalaris
2023-04-28 22:15:54 +03:00
parent 8879124a27
commit 89983182f9
86 changed files with 258 additions and 254 deletions

View File

@ -1,10 +1,10 @@
--- ---
title: Add a submodule title: Add a submodule
tags: repository,submodule type: snippet
tags: [repository,submodule]
author: chalarangelo author: chalarangelo
cover: rocky-mountains cover: rocky-mountains
firstSeen: 2021-04-08T20:05:15+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Adds a new submodule to the repository. Adds a new submodule to the repository.

View File

@ -1,10 +1,10 @@
--- ---
title: Apply the latest stash title: Apply the latest stash
tags: repository,stash type: snippet
tags: [repository,stash]
author: chalarangelo author: chalarangelo
cover: palm-tree-house cover: palm-tree-house
firstSeen: 2021-04-13T19:36:57+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Applies the latest stash. Applies the latest stash.

View File

@ -1,10 +1,10 @@
--- ---
title: Apply a stash title: Apply a stash
tags: repository,stash type: snippet
tags: [repository,stash]
author: chalarangelo author: chalarangelo
cover: obelisk cover: obelisk
firstSeen: 2021-04-13T19:36:57+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Applies a specific stash. Applies a specific stash.

View File

@ -1,10 +1,10 @@
--- ---
title: Autocorrect git commands title: Autocorrect git commands
tags: configuration type: snippet
tags: [configuration]
author: chalarangelo author: chalarangelo
cover: purple-flower-bunch cover: purple-flower-bunch
firstSeen: 2021-04-06T20:58:33+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Configures git to autocorrect mistyped commands. Configures git to autocorrect mistyped commands.

View File

@ -1,10 +1,10 @@
--- ---
title: Automatically find the commit that introduced a bug title: Automatically find the commit that introduced a bug
tags: commit,branch type: snippet
tags: [commit,branch]
author: chalarangelo author: chalarangelo
cover: pink-flower-tree cover: pink-flower-tree
firstSeen: 2021-04-13T20:00:22+03:00 dateModified: 2021-04-13T21:10:59+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. Uses a binary search algorithm and a given script to find which commit in history introduced a bug.

View File

@ -1,9 +1,10 @@
--- ---
title: Automate upstream branch creation title: Automate upstream branch creation
tags: configuration,repository type: snippet
tags: [configuration,repository]
author: chalarangelo author: chalarangelo
cover: violin cover: violin
firstSeen: 2022-10-19T05:00:00-04:00 dateModified: 2022-10-19T05:00:00-04:00
--- ---
Configures the repository to automatically create upstream branches on push. Configures the repository to automatically create upstream branches on push.

View File

@ -1,9 +1,9 @@
--- ---
title: Find branches containing a commit title: Find branches containing a commit
tags: branch,commit type: snippet
tags: [branch,commit]
cover: dark-leaves cover: dark-leaves
firstSeen: 2021-04-05T09:47:59+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Prints all the branches containing a specific commit. Prints all the branches containing a specific commit.

View File

@ -1,9 +1,9 @@
--- ---
title: Find branches not containing a commit title: Find branches not containing a commit
tags: branch,commit type: snippet
tags: [branch,commit]
cover: blue-sunrise cover: blue-sunrise
firstSeen: 2021-04-05T09:47:59+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Prints all the branches not containing a specific commit. Prints all the branches not containing a specific commit.

View File

@ -1,10 +1,10 @@
--- ---
title: Change the remote URL title: Change the remote URL
tags: repository type: snippet
tags: [repository]
author: chalarangelo author: chalarangelo
cover: rocky-lake cover: rocky-lake
firstSeen: 2021-04-08T19:42:57+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Changes the URL of the remote repository. Changes the URL of the remote repository.

View File

@ -1,10 +1,10 @@
--- ---
title: Clone missing submodules title: Clone missing submodules
tags: repository,submodule type: snippet
tags: [repository,submodule]
author: chalarangelo author: chalarangelo
cover: forest-balcony cover: forest-balcony
firstSeen: 2021-04-08T20:05:15+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Clones missing submodules and checks out commits. Clones missing submodules and checks out commits.

View File

@ -1,9 +1,9 @@
--- ---
title: Clone a repository title: Clone a repository
tags: repository,remote type: snippet
tags: [repository,remote]
cover: fruit-feast cover: fruit-feast
firstSeen: 2021-04-04T14:04:05+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Clones an existing repository, creating a local copy of it. Clones an existing repository, creating a local copy of it.

View File

@ -1,9 +1,10 @@
--- ---
title: Change the last commit's author title: Change the last commit's author
tags: commit type: snippet
tags: [commit]
author: chalarangelo author: chalarangelo
cover: symmetry-cloudy-mountain cover: symmetry-cloudy-mountain
firstSeen: 2022-05-03T05:00:00-04:00 dateModified: 2022-05-03T05:00:00-04:00
--- ---
Updates the last commit's author without changing its contents. Updates the last commit's author without changing its contents.

View File

@ -1,9 +1,9 @@
--- ---
title: Create a commit by a different author title: Create a commit by a different author
tags: commit type: snippet
tags: [commit]
cover: new-plant cover: new-plant
firstSeen: 2021-04-13T20:07:27+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Creates a new commit by the specified author. Creates a new commit by the specified author.

View File

@ -1,10 +1,10 @@
--- ---
title: Add a commit message template title: Add a commit message template
tags: repository,configuration type: snippet
tags: [repository,configuration]
author: chalarangelo author: chalarangelo
cover: river-house-lights cover: river-house-lights
firstSeen: 2021-04-06T21:35:01+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Sets up a commit message template for the current repository. Sets up a commit message template for the current repository.

View File

@ -1,9 +1,9 @@
--- ---
title: Commit without running git hooks title: Commit without running git hooks
tags: commit type: snippet
tags: [commit]
cover: fishermen cover: fishermen
firstSeen: 2021-04-04T20:55:26+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Creates a new commit skipping the pre-commit and commit-msg hooks. Creates a new commit skipping the pre-commit and commit-msg hooks.

View File

@ -1,9 +1,9 @@
--- ---
title: Configure git user information title: Configure git user information
tags: configuration,repository type: snippet
tags: [configuration,repository]
cover: pineapple-at-work cover: pineapple-at-work
firstSeen: 2021-04-04T21:25:22+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Configures user information for git. Configures user information for git.

View File

@ -1,10 +1,10 @@
--- ---
title: Copy a file from another branch title: Copy a file from another branch
tags: branch type: snippet
tags: [branch]
author: chalarangelo author: chalarangelo
cover: sea-view-2 cover: sea-view-2
firstSeen: 2021-04-06T20:58:25+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Copies a file from another branch to the current branch. Copies a file from another branch to the current branch.

View File

@ -1,9 +1,9 @@
--- ---
title: Create a new branch title: Create a new branch
tags: branch,remote type: snippet
tags: [branch,remote]
cover: flower-pond cover: flower-pond
firstSeen: 2021-04-04T14:09:09+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Creates and switches to a new branch, optionally setting up a remote tracking branch. Creates and switches to a new branch, optionally setting up a remote tracking branch.

View File

@ -1,9 +1,9 @@
--- ---
title: Create a commit title: Create a commit
tags: commit type: snippet
tags: [commit]
cover: baloons-field cover: baloons-field
firstSeen: 2021-04-04T14:16:38+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Creates a new commit containing the staged changes. Creates a new commit containing the staged changes.

View File

@ -1,9 +1,9 @@
--- ---
title: Create an empty commit title: Create an empty commit
tags: commit type: snippet
tags: [commit]
cover: colorful-plastic cover: colorful-plastic
firstSeen: 2021-04-04T20:55:26+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Creates an empty commit. Creates an empty commit.

View File

@ -1,10 +1,10 @@
--- ---
title: Create a fixup commit title: Create a fixup commit
tags: commit type: snippet
tags: [commit]
author: chalarangelo author: chalarangelo
cover: tools cover: tools
firstSeen: 2021-04-08T19:51:24+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Creates a fixup commit that can be autosquashed in the next rebase. Creates a fixup commit that can be autosquashed in the next rebase.

View File

@ -1,9 +1,9 @@
--- ---
title: Create a new repository title: Create a new repository
tags: repository type: snippet
tags: [repository]
cover: violin cover: violin
firstSeen: 2021-04-04T14:04:05+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Initializes a new git repository, setting up all the configuration files needed by git. Initializes a new git repository, setting up all the configuration files needed by git.

View File

@ -1,9 +1,9 @@
--- ---
title: Get the current branch name title: Get the current branch name
tags: branch type: snippet
tags: [branch]
cover: cherry-trees cover: cherry-trees
firstSeen: 2021-04-04T21:50:46+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Prints the current branch name. Prints the current branch name.

View File

@ -1,9 +1,9 @@
--- ---
title: Delete a branch title: Delete a branch
tags: repository,branch type: snippet
tags: [repository,branch]
cover: volcano-sunset cover: volcano-sunset
firstSeen: 2021-04-04T21:50:29+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Deletes a local branch. Deletes a local branch.

View File

@ -1,9 +1,9 @@
--- ---
title: Delete detached branches title: Delete detached branches
tags: repository,branch type: snippet
tags: [repository,branch]
cover: brown-bird cover: brown-bird
firstSeen: 2021-04-08T19:42:01+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Deletes all detached branches. Deletes all detached branches.

View File

@ -1,9 +1,9 @@
--- ---
title: Delete merged branches title: Delete merged branches
tags: repository,branch type: snippet
tags: [repository,branch]
cover: duck-plants cover: duck-plants
firstSeen: 2021-04-08T19:42:01+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Deletes all local merged branches. Deletes all local merged branches.

View File

@ -1,9 +1,9 @@
--- ---
title: Delete a remote branch title: Delete a remote branch
tags: repository,branch type: snippet
tags: [repository,branch]
cover: waves-from-above cover: waves-from-above
firstSeen: 2021-04-08T19:42:01+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Deletes a remote branch. Deletes a remote branch.

View File

@ -1,10 +1,10 @@
--- ---
title: Delete a stash title: Delete a stash
tags: repository,stash type: snippet
tags: [repository,stash]
author: chalarangelo author: chalarangelo
cover: budapest-palace cover: budapest-palace
firstSeen: 2021-04-13T19:36:57+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Deletes a specific stash. Deletes a specific stash.

View File

@ -1,10 +1,10 @@
--- ---
title: Delete all stashes title: Delete all stashes
tags: repository,stash type: snippet
tags: [repository,stash]
author: chalarangelo author: chalarangelo
cover: little-tree cover: little-tree
firstSeen: 2021-04-13T19:36:57+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Deletes all stashes. Deletes all stashes.

View File

@ -1,10 +1,10 @@
--- ---
title: Delete a submodule title: Delete a submodule
tags: repository,submodule type: snippet
tags: [repository,submodule]
author: chalarangelo author: chalarangelo
cover: silver-flat-screen cover: silver-flat-screen
firstSeen: 2021-04-08T20:05:15+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Deletes a submodule from the repository. Deletes a submodule from the repository.

View File

@ -1,10 +1,10 @@
--- ---
title: View difference between two branches title: View difference between two branches
tags: branch type: snippet
tags: [branch]
author: chalarangelo author: chalarangelo
cover: two-doors cover: two-doors
firstSeen: 2021-04-08T16:30:44+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Displays the difference between two branches. Displays the difference between two branches.

View File

@ -1,9 +1,10 @@
--- ---
title: Disable fast forward merging by default title: Disable fast forward merging by default
tags: configuration,repository type: snippet
tags: [configuration,repository]
author: chalarangelo author: chalarangelo
cover: people-on-beach cover: people-on-beach
firstSeen: 2021-07-03T05:00:00-04:00 dateModified: 2021-07-03T05:00:00-04:00
--- ---
Disables the default fast forwarding on merge commits. Disables the default fast forwarding on merge commits.

View File

@ -1,9 +1,9 @@
--- ---
title: Discard uncommitted changes title: Discard uncommitted changes
tags: branch type: snippet
tags: [branch]
cover: arrays cover: arrays
firstSeen: 2021-04-06T11:11:08+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Discards all uncommitted changes to the current branch. Discards all uncommitted changes to the current branch.

View File

@ -1,9 +1,9 @@
--- ---
title: Discard untracked changes title: Discard untracked changes
tags: branch type: snippet
tags: [branch]
cover: cold-mountains cover: cold-mountains
firstSeen: 2021-04-06T11:11:08+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Discards all untracked changes to the current branch. Discards all untracked changes to the current branch.

View File

@ -1,9 +1,9 @@
--- ---
title: Edit git configuration file title: Edit git configuration file
tags: configuration type: snippet
tags: [configuration]
cover: terminal cover: terminal
firstSeen: 2021-04-04T21:25:22+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Opens the git configuration file in the git text editor. Opens the git configuration file in the git text editor.

View File

@ -1,9 +1,9 @@
--- ---
title: Fetch latest changes from remote title: Fetch latest changes from remote
tags: repository type: snippet
tags: [repository]
cover: playing-fetch cover: playing-fetch
firstSeen: 2021-04-08T19:43:13+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Fetches the latest changes from the remote. Fetches the latest changes from the remote.

View File

@ -1,10 +1,10 @@
--- ---
title: Find lost files title: Find lost files
tags: repository type: snippet
tags: [repository]
author: chalarangelo author: chalarangelo
cover: hard-disk cover: hard-disk
firstSeen: 2021-04-06T21:35:01+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Prints a list of lost files and commits. Prints a list of lost files and commits.

View File

@ -1,10 +1,10 @@
--- ---
title: Update remote branch after rewriting history title: Update remote branch after rewriting history
tags: branch type: snippet
tags: [branch]
author: chalarangelo author: chalarangelo
cover: compass cover: compass
firstSeen: 2021-04-06T19:47:19+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Forces an update of the remote branch after rewriting the history locally. Forces an update of the remote branch after rewriting the history locally.

View File

@ -1,10 +1,10 @@
--- ---
title: Perform an interactive rebase title: Perform an interactive rebase
tags: branch type: snippet
tags: [branch]
author: chalarangelo author: chalarangelo
cover: tea-laptop-table cover: tea-laptop-table
firstSeen: 2021-04-08T20:10:35+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Performs an interactive rebase. Performs an interactive rebase.

View File

@ -1,10 +1,10 @@
--- ---
title: Configure line endings title: Configure line endings
tags: repository,configuration type: snippet
tags: [repository,configuration]
author: chalarangelo author: chalarangelo
cover: leaves-read cover: leaves-read
firstSeen: 2021-04-06T21:35:01+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Configures the line endings for a repository. Configures the line endings for a repository.

View File

@ -1,9 +1,9 @@
--- ---
title: List all git aliases title: List all git aliases
tags: configuration type: snippet
tags: [configuration]
cover: book-chair cover: book-chair
firstSeen: 2021-04-04T21:25:22+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Prints a list of all git aliases. Prints a list of all git aliases.

View File

@ -1,10 +1,10 @@
--- ---
title: Lists all stashes title: Lists all stashes
tags: repository,stash type: snippet
tags: [repository,stash]
author: chalarangelo author: chalarangelo
cover: golden-gate-bridge cover: golden-gate-bridge
firstSeen: 2021-04-13T19:36:57+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Displays a list of all stashes. Displays a list of all stashes.

View File

@ -1,10 +1,10 @@
--- ---
title: Manually find the commit that introduced a bug title: Manually find the commit that introduced a bug
tags: commit,branch type: snippet
tags: [commit,branch]
author: chalarangelo author: chalarangelo
cover: blue-computer cover: blue-computer
firstSeen: 2021-04-13T20:00:22+03:00 dateModified: 2021-04-13T21:10:59+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. Uses a binary search algorithm to manually find which commit in history introduced a bug.

View File

@ -1,9 +1,9 @@
--- ---
title: Merge a branch and create a merge commit title: Merge a branch and create a merge commit
tags: repository,branch type: snippet
tags: [repository,branch]
cover: meteora cover: meteora
firstSeen: 2021-04-04T21:50:11+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Merges a branch into the current branch, creating a merge commit. Merges a branch into the current branch, creating a merge commit.

View File

@ -1,9 +1,9 @@
--- ---
title: Merge a branch title: Merge a branch
tags: repository,branch type: snippet
tags: [repository,branch]
cover: sparkles cover: sparkles
firstSeen: 2021-04-04T21:50:11+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Merges a branch into the current branch. Merges a branch into the current branch.

View File

@ -1,10 +1,10 @@
--- ---
title: Move commits from master to a new branch title: Move commits from master to a new branch
tags: branch,repository type: snippet
tags: [branch,repository]
author: chalarangelo author: chalarangelo
cover: red-succulent cover: red-succulent
firstSeen: 2021-04-06T21:35:01+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Moves local commits from the `master` branch to a new branch. Moves local commits from the `master` branch to a new branch.

View File

@ -1,10 +1,10 @@
--- ---
title: Optimize the local repository title: Optimize the local repository
tags: repository type: snippet
tags: [repository]
author: chalarangelo author: chalarangelo
cover: automaton cover: automaton
firstSeen: 2021-04-08T19:42:43+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Optimizes the local repository. Optimizes the local repository.

View File

@ -1,10 +1,10 @@
--- ---
title: Pick changes from one or more commits title: Pick changes from one or more commits
tags: commit,branch type: snippet
tags: [commit,branch]
author: chalarangelo author: chalarangelo
cover: sunflowers cover: sunflowers
firstSeen: 2021-04-08T16:42:37+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Applies the changes introduced by one or more commits. Applies the changes introduced by one or more commits.

View File

@ -1,10 +1,10 @@
--- ---
title: Pull all submodules from remote title: Pull all submodules from remote
tags: repository,submodule type: snippet
tags: [repository,submodule]
author: chalarangelo author: chalarangelo
cover: workspace-with-speaker cover: workspace-with-speaker
firstSeen: 2021-04-08T20:05:15+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Pulls all submodules from their respective remotes. Pulls all submodules from their respective remotes.

View File

@ -1,9 +1,9 @@
--- ---
title: Pull latest changes from remote title: Pull latest changes from remote
tags: repository,branch type: snippet
tags: [repository,branch]
cover: last-light cover: last-light
firstSeen: 2021-04-08T19:42:23+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Pulls the latest changes from the remote tracking branch. Pulls the latest changes from the remote tracking branch.

View File

@ -1,10 +1,10 @@
--- ---
title: Purge a file from history title: Purge a file from history
tags: repository,remote type: snippet
tags: [repository,remote]
author: chalarangelo author: chalarangelo
cover: white-flower cover: white-flower
firstSeen: 2021-04-13T20:20:57+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Completely purges a file from history. Completely purges a file from history.

View File

@ -1,9 +1,9 @@
--- ---
title: Push local changes to remote title: Push local changes to remote
tags: repository,branch type: snippet
tags: [repository,branch]
cover: dark-cloud cover: dark-cloud
firstSeen: 2021-04-08T19:42:23+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Pushes the current branch's changes to the remote. Pushes the current branch's changes to the remote.

View File

@ -1,9 +1,9 @@
--- ---
title: Rebase onto another branch title: Rebase onto another branch
tags: branch type: snippet
tags: [branch]
cover: sliced-fruits cover: sliced-fruits
firstSeen: 2021-04-05T11:19:54+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Rebases the current branch onto another branch. Rebases the current branch onto another branch.

View File

@ -1,9 +1,9 @@
--- ---
title: Remove a file from the last commit title: Remove a file from the last commit
tags: commit type: snippet
tags: [commit]
cover: cancel-typographer cover: cancel-typographer
firstSeen: 2021-04-05T11:19:41+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Removes a file from the last commit without changing its message. Removes a file from the last commit without changing its message.

View File

@ -1,9 +1,9 @@
--- ---
title: Rename a branch title: Rename a branch
tags: branch type: snippet
tags: [branch]
cover: bug cover: bug
firstSeen: 2021-04-05T09:48:16+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Renames a local branch. Renames a local branch.

View File

@ -1,9 +1,9 @@
--- ---
title: Rename remote branch title: Rename remote branch
tags: branch type: snippet
tags: [branch]
cover: horse-sunset cover: horse-sunset
firstSeen: 2021-04-05T09:48:16+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Renames a branch both locally and on the remote. Renames a branch both locally and on the remote.

View File

@ -1,9 +1,9 @@
--- ---
title: Reset master to match remote title: Reset master to match remote
tags: repository,branch type: snippet
tags: [repository,branch]
cover: old-consoles cover: old-consoles
firstSeen: 2021-04-06T16:58:58+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Resets the local `master` branch to match the one on the remote. Resets the local `master` branch to match the one on the remote.

View File

@ -1,10 +1,10 @@
--- ---
title: Restore a deleted file title: Restore a deleted file
tags: branch type: snippet
tags: [branch]
author: chalarangelo author: chalarangelo
cover: succulent-red-light cover: succulent-red-light
firstSeen: 2021-04-06T20:58:25+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Restores a file deleted in a specific commit. Restores a file deleted in a specific commit.

View File

@ -1,9 +1,9 @@
--- ---
title: Rewind back n commits title: Rewind back n commits
tags: branch,commit type: snippet
tags: [branch,commit]
cover: lake-trees cover: lake-trees
firstSeen: 2021-04-05T11:19:21+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Rewinds the current branch by a given number of commits. Rewinds the current branch by a given number of commits.

View File

@ -1,9 +1,9 @@
--- ---
title: Rewind back to a specific commit title: Rewind back to a specific commit
tags: branch,commit type: snippet
tags: [branch,commit]
cover: walking cover: walking
firstSeen: 2021-04-05T11:19:21+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Rewinds the current branch by a given number of commits. Rewinds the current branch by a given number of commits.

View File

@ -1,10 +1,10 @@
--- ---
title: Create a stash title: Create a stash
tags: repository,stash type: snippet
tags: [repository,stash]
author: chalarangelo author: chalarangelo
cover: purple-leaves cover: purple-leaves
firstSeen: 2021-04-13T19:36:57+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Saves the current state of the working directory and index into a new stash. Saves the current state of the working directory and index into a new stash.

View File

@ -1,9 +1,10 @@
--- ---
title: Set default push branch name title: Set default push branch name
tags: configuration,branch type: snippet
tags: [configuration,branch]
author: chalarangelo author: chalarangelo
cover: pink-flower cover: pink-flower
firstSeen: 2021-06-30T05:00:00-04:00 dateModified: 2021-06-30T05:00:00-04:00
--- ---
Use the name of the current branch when pushing by default as the name of the remote branch. Use the name of the current branch when pushing by default as the name of the remote branch.

View File

@ -1,9 +1,9 @@
--- ---
title: Configure the git text editor title: Configure the git text editor
tags: configuration type: snippet
tags: [configuration]
cover: purple-sunset-beach cover: purple-sunset-beach
firstSeen: 2021-04-04T21:25:22+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Configures the text editor used by git. Configures the text editor used by git.

View File

@ -1,10 +1,10 @@
--- ---
title: View branches sorted by date title: View branches sorted by date
tags: repository,branch type: snippet
tags: [repository,branch]
author: chalarangelo author: chalarangelo
cover: sea-view cover: sea-view
firstSeen: 2021-04-06T21:35:01+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Prints a list of all local branches sorted by date. Prints a list of all local branches sorted by date.

View File

@ -1,9 +1,9 @@
--- ---
title: Add files to the staging area title: Add files to the staging area
tags: commit type: snippet
tags: [commit]
cover: round-leaves cover: round-leaves
firstSeen: 2021-04-06T16:39:37+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Adds files to the staging area. Adds files to the staging area.

View File

@ -1,9 +1,9 @@
--- ---
title: Switch to a branch title: Switch to a branch
tags: branch type: snippet
tags: [branch]
cover: bridge cover: bridge
firstSeen: 2021-04-04T14:09:09+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Switches to an existing branch. Switches to an existing branch.

View File

@ -1,9 +1,9 @@
--- ---
title: Return to previous branch title: Return to previous branch
tags: branch type: snippet
tags: [branch]
cover: beach-riders cover: beach-riders
firstSeen: 2021-04-04T14:13:31+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Switches back to the last branch. Switches back to the last branch.

View File

@ -1,9 +1,9 @@
--- ---
title: Undo a commit title: Undo a commit
tags: commit,branch type: snippet
tags: [commit,branch]
cover: mask-quiet cover: mask-quiet
firstSeen: 2021-04-06T16:54:22+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Undoes a specified commit without rewriting history. Undoes a specified commit without rewriting history.

View File

@ -1,9 +1,9 @@
--- ---
title: Undo the last commit title: Undo the last commit
tags: commit,branch type: snippet
tags: [commit,branch]
cover: racoon cover: racoon
firstSeen: 2021-04-06T16:54:22+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Undoes the last commit without rewriting history. Undoes the last commit without rewriting history.

View File

@ -1,10 +1,10 @@
--- ---
title: Remove files from the staging area title: Remove files from the staging area
tags: commit type: snippet
tags: [commit]
author: chalarangelo author: chalarangelo
cover: coconuts cover: coconuts
firstSeen: 2021-04-06T19:38:51+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Removes files from the staging area. Removes files from the staging area.

View File

@ -1,9 +1,9 @@
--- ---
title: Edit the last commit title: Edit the last commit
tags: commit type: snippet
tags: [commit]
cover: tram-car cover: tram-car
firstSeen: 2021-04-04T14:36:07+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Updates the last commit's contents without changing its message. Updates the last commit's contents without changing its message.

View File

@ -1,9 +1,9 @@
--- ---
title: Change the last commit's message title: Change the last commit's message
tags: commit type: snippet
tags: [commit]
cover: greek-coffee cover: greek-coffee
firstSeen: 2021-04-04T14:36:07+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Updates the last commit's message without changing its contents. Updates the last commit's message without changing its contents.

View File

@ -1,9 +1,9 @@
--- ---
title: View local branches title: View local branches
tags: repository,branch type: snippet
tags: [repository,branch]
cover: aerial-view-port cover: aerial-view-port
firstSeen: 2021-04-04T14:05:57+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Prints a list of all local branches. Prints a list of all local branches.

View File

@ -1,10 +1,10 @@
--- ---
title: View a summary of changes between two commits title: View a summary of changes between two commits
tags: repository,branch type: snippet
tags: [repository,branch]
author: chalarangelo author: chalarangelo
cover: taking-photos cover: taking-photos
firstSeen: 2021-04-06T22:21:04+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Prints a summary of changes between two given commits. Prints a summary of changes between two given commits.

View File

@ -1,9 +1,9 @@
--- ---
title: View a visual graph of the repository title: View a visual graph of the repository
tags: repository type: snippet
tags: [repository]
cover: city-view cover: city-view
firstSeen: 2021-04-06T16:28:49+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Prints a visual graph of all commits and branches in the repository. Prints a visual graph of all commits and branches in the repository.

View File

@ -1,9 +1,9 @@
--- ---
title: View commits by author title: View commits by author
tags: repository,commit type: snippet
tags: [repository,commit]
cover: comic-glasses cover: comic-glasses
firstSeen: 2021-04-06T11:22:55+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Prints all commits by the specified author. Prints all commits by the specified author.

View File

@ -1,9 +1,9 @@
--- ---
title: View commits that manipulated a specific string title: View commits that manipulated a specific string
tags: commit type: snippet
tags: [commit]
cover: bunny-poster cover: bunny-poster
firstSeen: 2021-04-06T16:28:49+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Prints a list of all commits that manipulated a given string. Prints a list of all commits that manipulated a given string.

View File

@ -1,9 +1,9 @@
--- ---
title: View commits in a specific date range title: View commits in a specific date range
tags: repository,commit type: snippet
tags: [repository,commit]
cover: organizer cover: organizer
firstSeen: 2021-04-06T16:28:49+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Prints all commits in the specified date range. Prints all commits in the specified date range.

View File

@ -1,9 +1,9 @@
--- ---
title: View a short summary of commits without merge commits title: View a short summary of commits without merge commits
tags: repository,commit type: snippet
tags: [repository,commit]
cover: river-flow cover: river-flow
firstSeen: 2021-04-06T11:22:55+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Prints a short summary of all commits excluding merge commits. Prints a short summary of all commits excluding merge commits.

View File

@ -1,9 +1,9 @@
--- ---
title: View a short summary of commits title: View a short summary of commits
tags: repository,commit type: snippet
tags: [repository,commit]
cover: highlands cover: highlands
firstSeen: 2021-04-06T11:22:55+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Prints a short summary of all commits. Prints a short summary of all commits.

View File

@ -1,10 +1,10 @@
--- ---
title: View differences in changes title: View differences in changes
tags: commit,branch type: snippet
tags: [commit,branch]
author: chalarangelo author: chalarangelo
cover: plant-candle cover: plant-candle
firstSeen: 2021-04-08T16:30:44+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Displays differences between staged or unstaged changes and the last commit. Displays differences between staged or unstaged changes and the last commit.

View File

@ -1,9 +1,9 @@
--- ---
title: View last commit title: View last commit
tags: commit type: snippet
tags: [commit]
cover: green-plant cover: green-plant
firstSeen: 2021-04-06T11:22:55+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Prints the last commit. Prints the last commit.

View File

@ -1,9 +1,9 @@
--- ---
title: View merged branches title: View merged branches
tags: repository,branch type: snippet
tags: [repository,branch]
cover: cobbled-street cover: cobbled-street
firstSeen: 2021-04-08T19:43:13+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Prints a list of all merged local branches. Prints a list of all merged local branches.

View File

@ -1,10 +1,10 @@
--- ---
title: View the remote URL title: View the remote URL
tags: repository type: snippet
tags: [repository]
author: chalarangelo author: chalarangelo
cover: red-mountain cover: red-mountain
firstSeen: 2021-04-08T19:42:57+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Displays the URL of the remote repository. Displays the URL of the remote repository.

View File

@ -1,10 +1,10 @@
--- ---
title: View current status title: View current status
tags: branch type: snippet
tags: [branch]
author: chalarangelo author: chalarangelo
cover: periscope cover: periscope
firstSeen: 2021-04-06T20:58:33+03:00 dateModified: 2021-04-13T21:10:59+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
--- ---
Prints the current status of the working tree. Prints the current status of the working tree.

View File

@ -1,9 +1,9 @@
--- ---
title: View "undo" history title: View "undo" history
tags: repository,branch type: snippet
tags: [repository,branch]
cover: rock-climbing cover: rock-climbing
firstSeen: 2021-04-06T16:35:56+03:00 dateModified: 2021-04-13T21:10:59+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. View git's reference logs. This is especially useful for finding references that don't show up in commit history.