Ask To Apps
  • Home
  • WordPress
  • Elasticsearch
  • PHP
  • Linux
  • Website Peformance

Tag : git-hub-installation

Git Hub Installation and Configuration

24/03/2013 Article

Git Hub is online file version service, it gives following benefits…

 

  • Online project hosting.
  • Source-code browser.
  • In-line editing,
  • Wikis, and ticketing.
  • Free for public open-source code.
  • Change based revision
  • Remotely accessible.

 

How to install GitHub

yum install git.x86_64

Configure Git Hub

git config --global user.name "appa"

git config –global user.email “appasaheb.sawant@gmail.com”

Copy SSH key and add it into git hub setting

cat ~/.ssh/id_rsa.pub

Clone/Checkout Git Repository

git clone git@github.com:<account name>/<repo name>.git

Update Repository

git pull origin

Add file in git

git add <file path>

Commit File

git commit -m 'commite message' <file path>
git push origin master

Create Branch

git branch <branch name>
git push origin <branch name>

Checkout branch

git checkout <branch name>

Merge Branch

git checkout <branch name>
git merge <branch name of which need to be merge into above branch>
git push origin <branch name>

Reset Merge

git reset --merge ORIG_HEAD

Create Tag

git tag <tag name>
git push --tags

Delete Tag

git tag -d <tag name>
git push origin :refs/tags/<tagname>

Check Version Difference

git diff <file path>

List of files need to resolves

git ls-files -u

Categories: Linux, Website Peformance

Tags: Git Clone, Git Hub, Git Hub Configuration, Git Hub Installation, Remote Git Hub

About Author:

Recent Posts

  • Install and configure logstash-forwarder
  • Redirect request on php script through squid proxy
  • Alerting for Elasticsearch : Log watcher in elasticsearch using ES Watcher
  • Detect face from image using python script with OpenCV
  • Change mysql root password on centos
  • Search part of word in elasticsearch using nGram – auto-complete search
  • Connect VPN on centos linux using command line
  • Custom river plugin in elasticsearch
  • Backup elasticsearch with snapshot and restore api
  • PHP code to exact keywords from text.

Tags

apache Apache Lucene cache Distributed Elastic Index Elasticsearch elasticsearch performance Git Clone Git Hub Git Hub Configuration Git Hub Installation grep Import Install MySQL JSON over HTTP Linux Linux Command Linux Commands Linux search local file lsyncd md5sum Multile Domain Multisite MySQL Open Source optimization performance php performance real time search remote file Remote Git Hub remote sync RESTful Scale Schema Free Search Engine Search Index Search keyword static cache Sub Domain sync Very fast Wordpress Wordpress multisite

Copyright Ask To Apps 2022 | Proudly powered by WordPress

facebook twitter google linkedin Email Rss