JIYIK CN >

Current Location:Home > Learning >

All

Various methods for removing local Git changes

Publish Date:2025/03/28 Author:JIYIK Category:Git

This article discusses various methods we can use to discard local changes in Git. Assuming we have cloned a repository, we will see how to discard the following local changes. Phased changes Unstaged changes Untracked changes Committed cha...

Full

Add a .gitignore file to an existing repository

Publish Date:2025/03/28 Author:JIYIK Category:Git

This article outlines the steps to apply a .gitignore file to an existing repository in Git. The .gitignore file allows us to specify content that Git will not track in our repository. If you have an existing Git repository with dozens of t...

Full

Undoing Pushed Commits in Git with reset and restore

Publish Date:2025/03/28 Author:JIYIK Category:Git

Undoing Pushed Commits in Git with reset and restore

We showed three ways to undo commits pushed from a remote repository in Git. To do this, we used the git reset , , revert and checkout commands. When we use git reset , we also remove any traces of the unwanted commit from the repository hi...

Full

Resolving Git stash conflicts without committing

Publish Date:2025/03/28 Author:JIYIK Category:Git

This article outlines the steps you should follow to resolve Git stash conflicts without reverting or creating commits. For a simpler context, we will simulate a situation where the git stash pop command results in a conflict and try to res...

Full

Undo Git Stash Pop conflicts

Publish Date:2025/03/28 Author:JIYIK Category:Git

Undo Git Stash Pop conflicts

You can undo this using the solutions in this article git stash pop with merge conflicts . We show you how to abort an erroneous stash pop operation and return to a clean state. But we also demonstrated a git stash pop way to resolve the co...

Full

Git refresh remote branch

Publish Date:2025/03/28 Author:JIYIK Category:Git

Git is considered to be the most accurate and the most used software by developers in their projects and can be operated by multiple developers simultaneously. It provides many unique and quirky features to the developers which are very dif...

Full

Log graphs in Git

Publish Date:2025/03/28 Author:JIYIK Category:Git

This article shows you how to use git log the command to graphically view the commit history in Git. Viewing log graphs in Git The command git log displays all the repository history at once snapshots(commits) . This command has a default f...

Full

Git authentication

Publish Date:2025/03/28 Author:JIYIK Category:Git

Git authentication

This article demonstrates connecting a local repository to a remote repository on GitHub/Gitlab without getting 身份验证失败 error messages. Creating a local repository from scratch in Git To create a local repository from scratch, fo...

Full

Deleting commits from a remote repository in Git

Publish Date:2025/03/27 Author:JIYIK Category:Git

Sometimes when using Git, we realize that a commit was wrong and needs to be removed. The reason may be that the customer does not want to use this feature in the product. Either we introduced a bug, or we need to work on it again because w...

Full

Setting up a username and password in Git

Publish Date:2025/03/27 Author:JIYIK Category:Git

Setting up a username and password in Git

This article demonstrates the steps to set up a GitHub username and password in Linux to avoid having to authenticate for every GitHub action. Set up your username and password in Git (GitHub/GitLab) To set up your GitHub username and passw...

Full

Git synchronizes branches with Master

Publish Date:2025/03/27 Author:JIYIK Category:Git

Git is a well-organized distributed version control system that can be very effective in managing source code in a distributed team of developers. When different developers are working on different product features, once they have completed...

Full

Git Rebase Origin/Branch vs. Git Rebase Origin Branch

Publish Date:2025/03/27 Author:JIYIK Category:Git

This article discusses the difference between the git rebase origin/branch and git rebase origin branch commands. We use both commands to rebase from a remote, but their actual uses are different, which we will discuss later. Difference bet...

Full

Using Git Rebase from the Command Line

Publish Date:2025/03/27 Author:JIYIK Category:Git

This article will discuss using the git rebase command effectively . The git rebase command allows us to change a range of commits and modify the commit history in our repository. We can edit, reorder, or squash commits using the git rebase...

Full

Tracking command history in Git

Publish Date:2025/03/27 Author:JIYIK Category:Git

Git is one of those version control systems that keeps a record of the changes made by its developers. Through these records, we can track various earlier commits, which teammates made what changes at what time, understand the bugs that wer...

Full

Find deleted files in the commit history of a Git project

Publish Date:2025/03/27 Author:JIYIK Category:Git

This article discusses finding deleted files in the commit history of a project. This is handy when you want to recover a file you deleted in a project. Without further ado, let’s jump right in. Steps to find and restore deleted files in...

Full

Scan to Read All Tech Tutorials

Social Media
  • https://www.github.com/onmpw
  • qq:1244347461

Hottest

Tags

Scan the Code
Easier Access Tutorial