Quick edit of Git repo URL in windows

Disclaimer:

Not an actual post, just step by step process list.

Step 1:
Open .git folder in repository root folder (enable view hidden folder settings to view this folder).

Step 2:
Open the config file in the .git folder using any text editor.
(.git\config)

Step 3:
Replace URL path under remote origin with your new URL.

example:

[remote “origin”]
url = https://github.com/PandiyanCool/pandiyan.me

Step 4:
Save the config file.

Step 5:
Everything is complete, continue your coding.Happy Coding!

Happy Coding!

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s