Git

Sponsored links
Other techs

Git Ignore indexed file but cannot switch to a branch if it’s modified

When we add a path to a directory or a file in .gitignore file, changes to those files are ignored. But sometimes we wan...
Other techs

Git How to create/remove branches in Local and Remote repository

There are some branches that are no longer needed. Then, remove them all at once. Let's use the combination of git branch -d, grep, and xargs.
Other techs

Git How to undo a commit to remove some modifications

Everyone can make a mistake. How can we undo a commit when we push a commit by mistake? How can we revert a commit from the middle of the history when the commit is no longer needed?
Other techs

Git How to update all repos in a directory

Are there many git repositories to update? This post is for you if you don't want to change the directory and git pull many times. Let's update them at once with find and xargs commands.
Other techs

Why does git submodule update not work!!

The following command didn't update the submodule. Huh?git submodule updateNeither of the following ones updated it.git ...
Other techs

Git How to show the current branch name on the terminal on WSL

Why isn't the current branch name shown on the Terminal? I don't want to run "git status" every time I want to check the current branch. Let's set it up!
Other techs

Git big commit vs small commit

Git is one of the important code management systems that is widely used. It is an essential tool for me. If it's not bei...
Other techs

Git “error: cannot lock ref” error

"error: cannot lock ref" error occurs if you create a branch with the existing folder name but a different case. If you create feature/branch-name1 and Feature/branch-name2, this problem likely occurs. You need to remove or rename the branch to give the same folder name.
Other techs

Most common Git commands for daily work

This post explains the most used git commands in daily work. If you remember these commands, you can handle most cases.
Sponsored links