Git via ssh and gnome-terminal


Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /home2/namranco/public_html/wp-content/plugins/wp-syntax/wp-syntax.php on line 383

Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /home2/namranco/public_html/wp-content/plugins/wp-syntax/wp-syntax.php on line 383

Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /home2/namranco/public_html/wp-content/plugins/wp-syntax/wp-syntax.php on line 383

Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /home2/namranco/public_html/wp-content/plugins/wp-syntax/wp-syntax.php on line 383

Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /home2/namranco/public_html/wp-content/plugins/wp-syntax/wp-syntax.php on line 383

Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /home2/namranco/public_html/wp-content/plugins/wp-syntax/wp-syntax.php on line 383

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.

Related Post

Leave a Reply

Your email address will not be published. Required fields are marked *