Skip to content
Software Engineering

Software Engineering

Software Engineering

Menu

  • Home
  • Spaces
  • Blog
  • Design
    • Design Pattern
    • Design Principle
    • Microservice
  • Programming
    • Concepts
    • Java
    • Spring
    • Database
  • Tools
    • Cheatsheet
    • IDE
    • vi Editor
    • Git
    • Perforce
    • Troubleshooting
  • Log In

Git

Git: How to Rename a Git Branch Locally and Remotely

Git: How to Rename a Git Branch Locally and Remotely

If you made an error while typing the branch name or decided to change the branch name after pushing it to the remote repository, there is a method to rename the branch both locally and remotely.

fiveelements June 17, 2023June 17, 2023 Tools, Troubleshooting No Comments Read more

Git: Move a Folder From One Repository to Another Without Losing Git History

Git: Move a Folder From One Repository to Another Without Losing Git History

Git commit history is extremely useful. It serves as additional documentation of code with context. This article presents a step-by-step guide to move a folder from one Git repository to another with full revision history intact.

fiveelements May 22, 2023May 23, 2023 Programming, Tools No Comments Read more

Git Cheatsheet – Frequently Used Git Commands

Git Cheatsheet – Frequently Used Git Commands

A cheatsheet is a crisp set of notes, or commands used as a quick reference. Git is the most popular modern version control system (open-source and free). The below table contains the list of most frequently used Git commands.

fiveelements December 5, 2022December 12, 2022 Tools No Comments Read more

Update Cached Credentials in Git Repository

Update Cached Credentials in Git Repository

If you have cached your git credentials for a repository or globally, a couple of scenarios might arise: 1. Cached credentials need to be updated for a single repository or globally 2. Cached credentials need to be removed for a single repository or globally.

fiveelements February 18, 2022January 3, 2023 Tools No Comments Read more

Git – Refresh a File or Folder from the Remote Branch

Git – Refresh a File or Folder from the Remote Branch

When you have messed up a file or made temporary changes locally (e.g. for debugging) and you want to get rid of the local changes, there is an easy way out.

fiveelements January 8, 2021February 16, 2023 Tools No Comments Read more

Git – Refresh Feature Branch from Master – Rebase Vs. Merge

Git – Refresh Feature Branch from Master – Rebase Vs. Merge

While working on a feature branch, often you need to get the latest changes from master (contributed by other developers) to your feature branch to test your code with changes made by other developers.

fiveelements January 9, 2020August 11, 2023 Tools 1 Comment Read more

Git – Working with Multiple GitHub Accounts

Git – Working with Multiple GitHub Accounts

When you have messed up a file or made temporary changes locally (e.g. for debugging) and you want to get rid of the local changes, there is an easy way out.

fiveelements January 9, 2020October 12, 2022 Tools No Comments Read more

Git – Globally Ignore Certain File Types

Git – Globally Ignore Certain File Types

ll show you the steps to use a global .gitignore file to apply the exclusion pattern to all your repositories. Create a new file named .gitignore-global (or any other name you like) at the user’s home directory or any other directory of your choice. Add all required exclusions to this file just like a normal.gitignore file.

fiveelements July 25, 2019February 18, 2022 Tools 1 Comment Read more

How To Cache Git Credentials

How To Cache Git Credentials

If you are using password-based authentication to authenticate yourself to the Git server, it might prompt you to enter your password every time you execute git commands. To avoid that you can configure Git to cache your credential.

fiveelements July 15, 2019January 3, 2023 Tools 1 Comment Read more

Change Author and Commit Message Before or After Push to Git

Change Author and Commit Message Before or After Push to Git

After committing a change, you realized that either the author is not appearing correctly or the commit message needs a change. There are two likely scenarios and in each scenario, we’ll explore how to change the commit metadata.

fiveelements July 8, 2019January 3, 2023 Tools No Comments Read more

Articles

  • How to Change Editor Line Height in NetBeans IDE?
  • Git: How to Rename a Git Branch Locally and Remotely
  • Git: Move a Folder From One Repository to Another Without Losing Git History
  • How to Change the Console Font of IntelliJ IDEA
  • How to Find the Size of a File or Folder on Mac and Linux

Categories

  • Programming
  • Tools
  • Troubleshooting

Topics

App Cheatsheet Checkout Coding Command Line Database Git HTTP IDE Installation IntelliJ Java JPA Jupyter Notebook Linux Mac MongoDB NetBeans NoSQL Perforce Perl Productivity Programming Concepts Python Refresh Settings Shortcut Keys Spring SpringBoot Swing Terminal Timeline Tools Top vi Commands Top vim Commands Troubleshooting vi Commands VI Editor vim Commands VIM Editor Visual Studio Code Web WebApp Windows
Copyright © 2025 Software Engineering. All rights reserved. Theme Spacious by ThemeGrill. Powered by: WordPress.