Programming FlashCards

Explore our curated collection of programming flashcards. Each card contains practical examples and code snippets to help you master programming concepts quickly.

Filter by Technology

Create Branch programming concept visualization
Git

Create Branch

Creating a new branch in your Git repository allows you to develop features or fix bugs in isolation from the main codebase. This promotes better collaboration and version control.

Initialize Repo programming concept visualization
Git

Initialize Repo

Learn how to create a new Git repository. This is the first step in version control, allowing you to track changes in your project files. Use the command line to set up your repository and start managing your code effectively.

Amend Commit programming concept visualization
Git

Amend Commit

The 'git commit --amend' command allows you to modify the last commit. This is useful for correcting the commit message or adding forgotten changes without creating a new commit. Use it carefully to avoid rewriting history in shared branches.

Create Commit programming concept visualization
Git

Create Commit

Use this command to save changes to your local Git repository. Each commit records a snapshot of your project, enabling you to track changes and collaborate effectively.

Interactive Rebase programming concept visualization
Git

Interactive Rebase

Use Git's interactive rebase feature to filter and modify commit history. This allows you to squash, edit, or reorder commits, making your project history cleaner and more meaningful.

Apply Filters programming concept visualization
Git

Apply Filters

Use Git commands to filter commits based on specific criteria, such as author, date, or message. This allows you to view only the relevant changes in your repository history.

Show Remote Version programming concept visualization
Git

Show Remote Version

To check the version of a remote repository, you can use 'git ls-remote' along with the repository URL. This command lists references in a remote repository, which can help in verifying the latest commit and branch versions.

Show Version programming concept visualization
Git

Show Version

The 'git --version' command displays the current version of Git installed on your system. This is useful for verifying your installation or checking for updates.

Recover Lost Commits programming concept visualization
Git

Recover Lost Commits

If you've made a commit and lost track of it, use 'git reflog' to find its reference. This allows you to check out or reset to that commit, effectively recovering your work.

Log Ref Changes programming concept visualization
Git

Log Ref Changes

In Git, 'Log Ref Changes' allows you to view the commit history and track changes made to branches and tags. This is crucial for understanding project evolution and collaboration among team members.

Staged Changes programming concept visualization
Git

Staged Changes

After staging files with 'git add', use 'git status' to check which files are ready to be committed. This command shows the status of staged changes and any modifications that haven't been added yet.

Check Status programming concept visualization
Git

Check Status

Use 'git status' to view the current state of the working directory and staging area. It displays which files are staged, unstaged, or untracked, helping you understand what changes are ready for commit and what needs attention.

Merge Conflicts programming concept visualization
Git

Merge Conflicts

A merge conflict occurs when two branches have changes that cannot be automatically reconciled. Git requires manual resolution to integrate conflicting changes before completing the merge.

Git Branching programming concept visualization
Git

Git Branching

Git branching allows developers to create separate lines of development within a repository. This enables features to be developed in isolation, making it easier to manage changes and collaborate with others.

Clone Repository programming concept visualization
Git

Clone Repository

The 'git clone' command allows you to create a local copy of a remote repository. This is the first step to start working on a project that is hosted on a platform like GitHub or GitLab.

Download Updates programming concept visualization
Git

Download Updates

Use `git pull` to fetch and integrate changes from a remote repository into your current branch. This command is essential for keeping your local repository up to date with the latest changes from collaborators.

Clone with Depth programming concept visualization
Git

Clone with Depth

Use the '--depth' option with 'git clone' to create a shallow copy of a repository. This limits the clone to the specified number of commits, reducing the amount of data transferred.

Clone Repo programming concept visualization
Git

Clone Repo

Use the 'git clone' command to create a local copy of a remote repository. This command is essential for collaborating on projects by allowing you to work on the code locally and push changes back to the remote repository.

Fetch Updates programming concept visualization
Git

Fetch Updates

Use Git to fetch updates from a remote repository without merging them into your local branch. This allows you to see changes before integrating them.

Manage Remotes programming concept visualization
Git

Manage Remotes

Learn how to manage remote repositories in Git, including adding, renaming, and removing remotes to streamline your workflow and collaboration with team members.

Git Remote Add programming concept visualization
Git

Git Remote Add

Add a new remote repository to your local Git project, allowing you to push and pull code from multiple remote sources.

Git Remote Prune programming concept visualization
Git

Git Remote Prune

Remove local references to remote branches that no longer exist, helping keep your local repository clean and up-to-date.

Git Remote Update programming concept visualization
Git

Git Remote Update

Learn how to fetch updates from a remote repository without merging, keeping your local tracking branches updated with the latest changes.

Git Worktree Magic programming concept visualization
Git

Git Worktree Magic

Create multiple working directories from a single repository, enabling parallel branch work without switching contexts repeatedly.

Git Submodules programming concept visualization
Git

Git Submodules

Manage nested repositories within a main project, allowing you to include and track external repositories as subdirectories

Git Bisect Debugging programming concept visualization
Git

Git Bisect Debugging

Use binary search to find the exact commit that introduced a bug by marking good and bad commits automatically

Git Bisect Debug programming concept visualization
Git

Git Bisect Debug

Use binary search to pinpoint the exact commit that introduced a bug by systematically checking commits between good and bad states.

Git Cherry-Pick programming concept visualization
Git

Git Cherry-Pick

Apply a specific commit from one branch to another without merging the entire branch history

Git Rebase Interactive programming concept visualization
Git

Git Rebase Interactive

Powerful Git command to interactively modify, squash, reorder, or edit commit history before pushing to shared repository

Git Reflog programming concept visualization
Git

Git Reflog

Recovery tool that tracks all HEAD reference updates, helping you restore lost commits or branches that were accidentally deleted.

Git Stash Basics programming concept visualization
Git

Git Stash Basics

Temporarily save uncommitted changes without committing, allowing you to switch branches or apply changes later

Git Stash programming concept visualization
Git

Git Stash

Temporarily save uncommitted changes without committing, allowing you to switch branches or perform other operations cleanly.

Previous Page 1 of 1 Next