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

4 Responses

  1. goysar says:

    I m using centos, i tried ur installation step and gone fine but finally when i ran the command ‘service zm start’ my terminal says ‘bash: service: command not found’ wat might be the error. I want my web cam from mron to work.

    Reply
  2. namran says:

    have you become root first before issue
    with

    “su – ”

    “service zm start” ?

    can be also as ..

    “/sbin/service zm start”

    or
    “/etc/init.d/zm start”

    Reply
  3. umsrootqho says:

    hunfjcmph, ippbsesekz

    Reply

Anything to add?

X