>

Basics of Git: Part Two

In the last article we learned about git stage, commit, stash, reset and remove now we will move to some other commands to give this series a proper ending for basic idea and to get starting. Going back a commit This is essentially destroying history. So be cautious of this one. If we want a to go back to one commit behind or we want to delete a commit - git reset --hard HEAD~1 To revert to a specfic commit - git reset commit_id - git revert commit_id Then if we want to push that to remote (origin) - git push -f origin main checking a previous commit If we want to go back and just check a commit then - git checkout commit_id We cannot work while in this checkout mode After checking that commit and want to comeback to present - git checkout master Rebase Merge and rebase works in same way but with slight variation. Merge squashes all the commit and puts it as one commit in the branch. On the other hand rebase takes those commits and puts infront of the branch. Image below describes it well. ...

December 24, 2022 · 4 min · 748 words · Farhun

Basics of Git: Part One

Git in a nutshell What is git? Ans: Git is a program that constantly scans the file for changes and records them in order to create a version of those changes. That is why it is known as a version control system or version control tool. Flow of github Ans: There are different github with different flags to do many task. But here we mainly focusing on the basic git commands. One of the basic command is status command to check on the repository. ...

December 21, 2022 · 4 min · 795 words · Farhun

The Importance of Understanding the Definition

When it comes to learning, the definition is the first thing we are taught about a subject matter. It is the fundamental component of understanding any concept or matter. But do we really know what the definition of definition is? The term “definition” is thought to be innate, but we must dissect it to understand its impact on our lives. Defining “Definition” To define “definition,” keep in mind that it must be defined without the use of the word itself we are trying to define. In essence, definition is an attempt to make something clear. It is the fundamental framework through which we understand any idea or matter. ...

December 13, 2022 · 2 min · 369 words · Farhun

Programming Language and How Its Run

Introduction What is the purpose of using a computer? If we ask this simple question, we will realize that we use it to do tasks. But those tasks are done using computers because of their ease of use. For example, we do our assignments or document our work using various programs like Microsoft Office, OnlyOffice, LibreOffice, Google Docs, etc. Well, those are programs or applications we use. Those programs or applications are made using programming languages. As humans, we speak different languages. Similarly, there are different programming languages. But why are there so many different languages? Won’t it be easy if there is only one programming language? Well, it surely would be. But different languages have different strengths and weaknesses. Some languages are better suited for front-end development, others for back-end development, still others for application development, and so on. ...

December 8, 2022 · 4 min · 750 words · Farhun

Powershell Customization

Powershell What exactly is PowerShell? Powershell is a task automation solution as well as a command line shell. Similar programs include bash, zsh, and others. PowerShell, on the other hand, is now cross-platform. It is now available for download on Windows, Mac, and Linux. This increases its versatility. But one thing people are afraid of is the command line. Powershell can only be run from the command line. So why not make it more appealing to use? We are drawn to beautiful things as humans. Furthermore, rather than using a graphical user interface, powershell allows you to perform many tasks quickly. So, if we make the terminal more appealing, we will be able to encourage more people to use it. We can now start thinking about how to improve it. ...

October 25, 2022 · 2 min · 370 words · Farhun