In this article, we will see how to see the files changed in the last commit in git. Sometimes we need to check the files that were changed in the last commit to keep track of the changes made to…
In the article, we will see some of the possible scenarios where git will track the directories even though they are specified in the .gitignore file. The .gitignore file is a configuration file in Git that allows us to specify…
In this article, we will see what does –no-ff option does in git along with examples. When we merge two branches, by default Git uses the fast-forward merge method, which simply moves the branch pointer to the latest commit without…
In this article, we will see how to get the current status of git bisect. Before we get the current status of the git bisect, first, we need to start the git bisect. Use the following command to start the…
In this article, we will see the best way to mark a git commit as work in progress. When we are working on some feature in a large project, it is common to make several commits that are not to…
In this article, we will discuss about how to use, when to use the git bisect. What is git bisect? Git bisect is a command line tool that helps us to find the commit introduced a bug or regression in…
In this article, we will discuss the correct use of arrow functions in reactJS. Arrow functions have become a popular way of defining functions in JavaScript and these functions can be used in various ways to define component methods and…
In this article, we will see how async/await works in react rendering Both of these API’s are co-related and are used to write asynchronous code in javascript. These are based on the promise API. The async keyword is used to…
Using the <Link/> we have different ways to navigate between different routes in a single-page application. <Link /> component creates a hyperlink with which we can navigate to another route without reloading the page. There are some cases, where we…
In this article, we will see how to use multiple refs to a single component in React. What are refs in react? refs in react are used to access dom nodes or the components of a rendered elements. By default,…