Skip to content

Instantly share code, notes, and snippets.

@merajsiddiqui
Last active October 3, 2015 08:23
Show Gist options
  • Save merajsiddiqui/83c31aa24ece6f37dda1 to your computer and use it in GitHub Desktop.
Save merajsiddiqui/83c31aa24ece6f37dda1 to your computer and use it in GitHub Desktop.
General Knowledge for linux myself
Installl sublime from Terminal
sudo add-apt-repository ppa:webupd8team/sublime-text-2
sudo apt-get update
sudo apt-get install sublime-text
Installing git
sudo apt-get install git
Configuring git to use
git config --global user.email "merajsiddiqui@outlook.com"
git config --global user.name "Meraj Ahmad Siddiqui"
Cloning a repository --use yoour own github repository url--
git clone https://github.com/SwiftDeal/DatingPortal
To check status of repo
git status
To add files and folders in repo
git add path
To commit in a repo
git commit -m "Theme Updated or your comment"
To push in a repo
git push
Copying files from server to your local machine -- using scp
scp -r abc@13.16.28.200:/home/arif/web/biharshadi.com/public_html/* /var/www/html/DatingPortal/
-r for recursive
shh login details : file path local path
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment