#Adding an existing project to GitHub using the command line
Simple steps to add existing project to Github.
In Terminal, change the current working directory to your local project.
##2. Initialize the local directory as a Git repository.
git init
| # Logs | |
| logs | |
| *.log | |
| npm-debug.log* | |
| # Runtime data | |
| pids | |
| *.pid | |
| *.seed |
| import org.openqa.selenium.By; | |
| import org.openqa.selenium.Keys; | |
| import org.openqa.selenium.WebDriver; | |
| import java.util.concurrent.TimeUnit; | |
| import org.openqa.selenium.htmlunit.HtmlUnitDriver; | |
| public class html_unit_test { | |
| public static void main(String[] args) throws InterruptedException { | |
| WebDriver driver = new HtmlUnitDriver(); // this is used for UNIT TESTS !!!!!!! | |
| driver.navigate().to("https://accounts.google.com/"); |
| import java.util.concurrent.TimeUnit; | |
| import org.openqa.selenium.By; | |
| import org.openqa.selenium.JavascriptExecutor; | |
| import org.openqa.selenium.WebDriver; | |
| import org.openqa.selenium.firefox.FirefoxDriver; | |
| import org.openqa.selenium.firefox.FirefoxProfile; | |
| import org.openqa.selenium.firefox.internal.ProfilesIni; | |
| public class javaScriptExecutor { | |
| public static void main(String[] args) throws InterruptedException { |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Lecture 79 - Test</title> | |
| </head> | |
| <body> | |
| <p>Input your numbers below:<br /><br /> | |
| |