• support[@]kurinchilion.com
  • +1 (888) 666-4252

Git: How to change the remote URL of a repository?

Sep 16, 2021 - by kurinchilamp / / Post Comment
Let's first display the remote URL that is set for the repository. $ git remote -v origin https://github.com/USER/my-repo-main.git (fetch) origin https://github.com/USER/my-repo-main.git (push) Option 1: If we want to change the URL that is set to that of a different user USER2, then we can do that by issuing the command $ git remote set-url origin https://github.com/USER2/my-repo-main.git Option 2: Another workaround for this task is to edit .git/config file and replace the url present in the file to that of the new git URL. $ cat .git/config [core] ..... [remote "origin"] url = https://github.com/USER/my-repo-main.git $ sudo vi .git/config [core] ..... [remote "origin"] url = https://github.com/USER2/my-repo-main.git
Continue Reading

Repository: How to configure yum repos?

May 02, 2009 - by kurinchilamp / Ruby / Post Comment
To make automatic download and installation by using "yum" you can create/add the repo to /etc/yum.repos.d/. Then create file with .repo extension to do an automatic yum update at later stage vi /etc/yum.repos.d/reponame.repo Below is the content to RubyForge yum repo. Save the content as "rubyforge.repos" under "/etc/yum.repos.d" [rubyforge] name=RubyForge baseurl=http://rubyworks.rubyforge.org/redhat/$releasever/RPMS/$basearch enabled=1 gpgcheck=1 gpgkey=http://rubyworks.rubyforge.org/RubyWorks.GPG.key priority=1
Continue Reading

TECHNOLOGY DEV STACK

Following are some of the technologies that we use to build and maintain solutions for our clients.