How To Undo Last Commit In Git?

How To Undo Last Commit In Git?

Commits are used to put new versions to the source code. But some commits can be unwanted and required to undo the last commit. Also, wrong files can be committed accidentally which requires undoing the last command. Undo the Last Commit (Soft) The undo the last command can be done with the git reset command. … Read more

How To Delete Git Branch (Locally and Remotely)?

How To Delete Git Branch (Locally and Remotely)?

Git branches are an important part of the git. By using branches the codebase can be easily developed by different developers or groups and then merged again. After the development is complete and changes are merged into the main branch other development branches can be deleted. There are two types of branches called local branch … Read more

Git Tag (Tagging) Tutorial

Git Tag (Tagging) Tutorial

Like most source version control systems, the git provides the tags or tagging mechanism in order to set tags for specific versions. Tags are used to set simple and short names for versions like “development”, “v1”, “v1beta” etc. In this tutorial we examine how to work with tags like listing, setting, searching, and removing tags … Read more

How To Set and Use Google DNS Service In Windows and Linux?

How To Set and Use Google DNS Service In Windows and Linux?

All ISP’s or Internet Service Providers provide DNS services for their customers. And most cases their customers use their DNS services by default which is also set as in their routers, ADSL Modems, etc. Google provides DNS service in order to prevent ISP-related blockings and also provide a fast and secure experience. Google DNS service … Read more

What Is SFTP Port Number?

What Is SFTP Port Number?

SFTP or Secure File Transfer Protocol is a protocol used to transfer files in an encrypted way. The SFTP protocol is integrated and provided by the SSH (Secure Shell) protocol. This means the SFTP runs under the SSH service. The SFTP uses the security, encryption, authentication, and authorization features of the SSH. SFTP Port Number … Read more

Mozilla Firefox About Config (about:config)

Mozilla Firefox About Config (about:config)

Mozilla Firefox provides the Configuration Editor via the about:config URL. The about:config is very popular in order to change configuration and preferences about the Mozilla firefox. The about:config data is stored inside the JavaScript files named prefs.js and user.js . The user configuration is stored in the user.js and the default configuration is stores in … Read more

Git Revert Commit Command Tutorial

Git Revert Commit Command Tutorial

Git provides the git revert command in order to revert an existing commit. The git revert can be used with a commit checksum to revert back to this commit easily. The git revert command can be also used with different commit specifiers like HEAD , Commit Checksum , Branch Name etc git revert Command Syntax … Read more

Git Username and Email Address Configuration

Git Username and Email Address Configuration

Git is one of the most popular version control systems which works locally or in a distributed way. Multiple developers or testers can use a single repository for commits, tags, updates, etc. Every user commit is identified with its username and email address. The Git configuration is used to set and use the current user … Read more

What Is Link-Local Address?

What Is Link-Local Address?

Computer networks provide the link-local addresses that can be only used to communicate in the current network segment or broadcast domain in the current network. The Link-Local address is automatically generated by the host and does not needs to get a configuration service like DHCP. The Link-Local Address is automatically assigned by using the stateless … Read more