Movatterモバイル変換


[0]ホーム

URL:


Skip to content
DEV Community
Log in Create account

DEV Community

Cover image for Git Tutorial Library from Career Karma
Artur Meyster
Artur Meyster

Posted on

     

Git Tutorial Library from Career Karma

At some point in your journey to becoming a programmer, you will likely have heard the term Git come up. Butwhat is Git, and how does it work?

Git is a type of version control system used to maintain code and is a crucial tool for developers to manage their code and collaborate on projects.

To help you get the most out of Git, we’ve compiled a list of Career Karma tutorials on the most important concepts to learn with Git.

Git Tutorial Library from Career Karma

Add, Commit, and Push

TheGit add puts local modified files and folders into a staging area. After a Git add,Git commit can be used to turn the changes into a commit, andGit push can be used to push those changes to the main repository.

Checkout

Checkout switches between different versions of a code repository.Git checkout is essential for working on a new branch, existing branch, or remote branch. It operates on files, commits, and branches.

Clone

Creating local copies of a Git repository stored elsewhere is a central part of the Git version control system. When you’re setting up a repository, theGit clone command can be used to create a local copy of a repository stored elsewhere. This copy is also referred to as a “clone.”

Delete Branch

When you’re working withGit branches, you may decide you want to delete one. There are two approaches you can use todelete a branch in Git. Which one you use will depend on whether the branch you are deleting is located on your local machine or in a remote repository.

Diff

When you’re working with Git, you may want to compare data in your repository with another data source. That’s where theGit diff function comes in.

Fetch

TheGit fetching process allows you to retrieve commits, files, references, and other data from a remote repository and save it to your local machine.

Init

TheGit init command is used to create and initialize a new Git repository.

Log

How do you actually view the history your Git repository creates? That’s where theGit log command can be helpful.

Merge

Git merge allows you to combine the history of two branches together, and create one single branch.

Pull

TheGit pull command is used to retrieve content from a remote repository which is then saved to your local machine.

Revert Commit

TheGit revert commit command allows you to undo a commit so that you can return a repository to the previous commit.

Stash

TheGit stash command is used to switch contexts when working with a Git repository and save your code for a later date.

Tag

If you want to capture a point in the history of your repository such as a version, then you’ll want to use theGit tag feature.

Top comments(0)

Subscribe
pic
Create template

Templates let you quickly answer FAQs or store snippets for re-use.

Dismiss

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment'spermalink.

For further actions, you may consider blocking this person and/orreporting abuse

CTO of @Career_Karma (YC W19). Founder of Breaking Into Startups Podcast @everest10x. Coding Bootcamp grad.
  • Location
    San Francisco
  • Education
    Coding Bootcamp
  • Work
    CTO at Career Karma
  • Joined

More fromArtur Meyster

DEV Community

We're a place where coders share, stay up-to-date and grow their careers.

Log in Create account

[8]ページ先頭

©2009-2025 Movatter.jp