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... 2024.05.24 Other techs
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. 2023.04.03 Other techs
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? 2023.03.22 Other techs
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. 2023.03.13 Other techs
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 ... 2023.01.30 Other techs
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! 2023.01.27 Other techs
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... 2022.01.24 Other techs
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. 2021.11.19 Other techs
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. 2021.02.17 Other techs