Command line instructions If you already have files you can push them using command line instructions below. First, ssh into vagrant and use git commands insite ubuntu virtual machine. Git global setup git config –global user.name “Your Name” git config –global user.email “[email protected]” Create a new repository git clone https://gitlab.com/username/repositoryname.git cd chrispstreet touch README.md git […]
How To Install The Latest Version Of Git On Ubuntu
http://stackoverflow.com/questions/19109542/installing-latest-version-of-git-in-ubuntu $ sudo add-apt-repository ppa:git-core/ppa $ sudo apt-get update $ sudo apt-get install git
Using Git In Your Workflow
https://www.git-tower.com/learn/git/ebook/en/command-line/basics/working-on-your-project#start https://www.git-tower.com/blog/git-cheat-sheet/ to check file changes: $ git status Commonly used commands. 3 main categories: Changes not staged for commit Changes to be committed Untracked files to add a file to be tracked by git to the “staging area” (the example below adds 2 new files directly and all files in the css directory): $ […]
How To Install PHP 7.0
http://askubuntu.com/questions/705880/how-to-install-php-7 also for error “ZipArchive Library is missing or disabled”: https://www.digitalocean.com/community/questions/php-7-0-ziparchive-library-is-missing-or-disabled sudo apt-get install php7.0-cli php7.0-common libapache2-mod-php7.0 php7.0 php7.0-mysql php7.0-fpm php7.0-curl php7.0-gd php7.0-bz2 php7.0-zip
How To Install LEMP Locally On Ubuntu 16.04
If using Vagrant: Setup Vagrant replace project with any name you wish. $ mkdir project $ cd project $ vagrant init bento/ubuntu-16.04 In text editor – Vagrantfile located within the ‘project’ folder, uncomment and change config.vm.network “forwarded_port”, guest: 80, host: 8080 to: Change config.vm.network “forwarded_port”, guest: 80, host: 80 or Change config.vm.network “forwarded_port”, guest: 80, […]
How To Use Git – Initial Steps
Great and simple resource: https://www.git-tower.com/learn/git/ebook/en/command-line/introduction#start also: https://www.smashingmagazine.com/2015/07/development-to-deployment-workflow/ similar examples as above: https://www.digitalocean.com/community/tutorials/how-to-use-git-effectively **How To Set Up Automatic Deployment with Git with a VPS https://www.digitalocean.com/community/tutorials/how-to-set-up-automatic-deployment-with-git-with-a-vps further example of using Hooks in Git How To Use Git Hooks To Automate Development and Deployment Tasks https://www.digitalocean.com/community/tutorials/how-to-use-git-hooks-to-automate-development-and-deployment-tasks How To Set Up a Private Git Server on a VPS https://www.digitalocean.com/community/tutorials/how-to-set-up-a-private-git-server-on-a-vps […]
How To Set Up A Text Editor To Work With Git On Windows
http://stackoverflow.com/questions/10564/how-can-i-set-up-an-editor-to-work-with-git-on-windows On 32 bit OS: $ git config –global core.editor “‘C:/Program Files/Notepad++/notepad++.exe’ -multiInst -notabbar -nosession -noPlugin” On 64 bit OS: $ git config –global core.editor “‘C:/Program Files (x86)/Notepad++/notepad++.exe’ -multiInst -notabbar -nosession -noPlugin” Obviously the C:/Program Files/Notepad++/notepad++.exe part should be the path to the Notepad++ executable on your system. For example, on Windows 7 it’s likely […]