Git via ssh and gnome-terminal

Firstly need to install git itself with the following

yum install git -y --enablerepo rpmforge

After that setup the SSH key correctly .. so that can login to remote central repository without prompt.

Then clone a copy from remote central repository :
for example :
GIT packagename is “eScanner”
at the “mesinphotostat” server.

git clone namran@mesinphotostat:eScanner

it shall download all the necessary file from remote .

then.. ammend the local copy.. work on it whatever.

vi scannerMenu.xml

then commit the change to local repo first.

git commit -a

if would like to change variable for user email .
run the following :

git config --global user.email git-do-not-reply@namran.net

then.. to push to remote central repository again:

git push scannerMenu.xml

that’s all.

.. still avoiding eclipse.

eclipse got a lot of click-and-click done.. but somehow I still prefer command line .. haha.

Get Free Email Updates!

Signup now and receive an email once I publish new content.

I will never give away, trade or sell your email address. You can unsubscribe at any time.

Like

Related Post

2 Responses

  1. namran says:

    this would then make this app as ..

    the best yahoo messenger for centos

    .. after pidgin.. hehehe 😎

    as it had supersede the pidgin capabilities to perform
    some additional task which is not available in pidgin..

    may be you had been using other messenger..
    kindly post your comment in the form below ..

    p/s : don’t shoot the messenger..

    Reply
  2. arlie_bcx says:

    I did the steps above but got this message while installing:

    warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 217521f6

    GPG key retrieval failed: [Errno 5] OSError: [Errno 2] No such file or directory: ‘/etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL’

    I’m using CentOS 5.6

    Reply

Anything to add?

X