Last active
October 3, 2015 08:23
-
-
Save merajsiddiqui/83c31aa24ece6f37dda1 to your computer and use it in GitHub Desktop.
General Knowledge for linux myself
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 "[email protected]" | |
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 [email protected]:/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