Tim Mouskhelichvili • June 1, 2022 • 2 minutes to read
While working with Git, a situation may occur when a developer wants to revert multiple commits at once. This operation is possible and can be achieved in various ways. The easiest way to revert multiple commits is to use [...]
Tim Mouskhelichvili • May 31, 2022 • 2 minutes to read
If you regularly work with Git, you have surely noticed that Git doesn't like empty folders. It doesn't include them when you try to commit. Luckily, you can still add an empty folder in Git using a .gitkeep file [...]
Tim Mouskhelichvili • May 27, 2022 • 2 minutes to read
While working on a repository, a developer can often commit something by mistake without pushing it to the remote server. Luckily, Git gives a quick way to remove the unpushed commit. To remove the last unpushed commit in Git [...]
Tim Mouskhelichvili • May 14, 2022 • 2 minutes to read
Sometimes, developers need to quickly commit and skip the hooks set up on the Git repository. Luckily, developers can easily skip those hooks because the git commit command provides a handy option called no verify. To skip the pre-commit [...]
Tim Mouskhelichvili • May 13, 2022 • 2 minutes to read
Often, developers encounter situations where they need to trigger a new build without changing the repository's code. Luckily, this is easy to do because Git allows committing empty commits. To commit an empty commit, use the git commit --allow-empty [...]
Tim Mouskhelichvili • May 12, 2022 • 3 minutes to read
The git "pre-receive hook declined" error is a common error that developers can encounter while using a git hosting service like Gitlab, Github, or BitBucket. In most cases, this error happens because the developer lacks the permission to push [...]
Tim Mouskhelichvili • May 11, 2022 • 4 minutes to read
Web application development has never been more popular. Facebook, Instagram, and Amazon, all of those websites are web applications. Developers build web applications. Full-stack developers are developers who can work on the front-end and the back-end of a web [...]
Tim Mouskhelichvili • May 7, 2022 • 3 minutes to read
TypeScript adds optional type checking capabilities to JavaScript. Indeed, code written in TypeScript is checked for error before it is executed, saving development and debugging time. One of the potential errors that a developer might encounter is the TypeScript [...]
Tim Mouskhelichvili • May 6, 2022 • 3 minutes to read
In TypeScript, interfaces represent the shape of an object. They support many different features like optional parameters but unfortunately do not support setting up default values. However, you can still set up a TypeScript interface default value by using [...]
Tim Mouskhelichvili • May 5, 2022 • 2 minutes to read
In Git, rebasing is the action of moving or combining multiple commits into a new base commit. Sometimes, however, merge conflicts occur when doing so. Luckily, Git offers many easy ways to abort a rebase so the developer can [...]