- Create a repository on GitHub and save the HTTPS for later
- Open a command line on the root folder of your project
- Init a local repository
git init
- Stage all the files
git add .
- Commit
git commit -m "First commit"
- Associate the Gii repository
git remote add origin [YOUR_REPO_URL]
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
#!/bin/bash | |
# from https://chromium.woolyss.com/ | |
# and https://gist.github.com/addyosmani/5336747 | |
# and https://chromium.googlesource.com/chromium/src/+/lkgr/headless/README.md | |
sudo apt-get update | |
sudo apt-get install software-properties-common | |
sudo add-apt-repository ppa:canonical-chromium-builds/stage | |
sudo apt-get update | |
sudo apt-get install chromium-browser | |
chromium-browser --headless --no-sandbox http://example.org/ |
git
discard all local changes/commits and pull from upstream
git reset --hard origin/master
git pull origin master