JIYIK CN >

Current Location:Home > Learning > OPERATING SYSTEM >

All

Ignore Node_modules folder

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

While working on a project, there may be certain folders that you don't want git to track; these can be .env files, node_modules folders, etc. These folders are intended for use only on the local computer and should not be shared with other...

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

Linking to an existing GitHub repository

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

This article outlines the steps to link your local repository to a GitHub repository. It is always recommended to link your local repository to an empty GitHub repository. After all, no one wants to merge two different repositories into one...

Full

Rebase to a specific commit in Git

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

This article discusses the process of rebasing to a specific commit in Git. We will use a few scenarios to illustrate how this can be achieved. We'll use git rebase --onto the rebase command to rebase a branch to a specific commit. Let's ju...

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

Revert a file to a previous commit in Git

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

Git is a version control system. We use it to track changes made to files in a project directory. In a collaborative development environment, many team members often work on the same files and make changes to them. We often face a situation...

Full

Undoing rm in Git

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

In Git, the term rm is git remove an alias for the command. So it is used to remove a single file or a bunch of files from the repository. git rm The main functionality of in Git is to remove tracked files using Git index. However, git rm i...

Full

Recursively add files and folders in Git

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

Sometimes, we come across a situation where we have to adjust some files, folders, and subfolders that already exist in Git. A part of a nested folder system has to be added remotely to Git. This article will discuss how to use commands to...

Full

Git add folder

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

git add Used to add specific folders and files. This tutorial will handle it in a modern way git add folder . git add Add all or specific folders and files to staging in Git using Use the following syntax to add files: git add file Use the...

Full

Different ways to add files to staging with Git

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

While the command git add is probably the most commonly used command for adding files to your stash, other flags may come in handy depending on the situation. This article takes a deep dive into git add the flags you can use with the comman...

Full

Scan to Read All Tech Tutorials

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

Hottest

Tags

Scan the Code
Easier Access Tutorial