Posts

Showing posts with the label Day 3

Learn Git and host your website- Day 3

 Github  Create a Github account It helps you to share you code multiple computers or collaborate with friends version control system Install Git ======= download git from Google git --version download Github desktop  https://desktop.github.com/ Configuring Git =========== git config --global user.name "coderMojnu" git config --global user.email mojnu.cse.pust@gmail.com First Push ======= mkdir first_push cd first_push touch README.md (Markdown is a language that looks a lot like plain text)  echo "foo bar bizz bang" >> README.md (saving some text in README.md) cd projects/first_push/ git init git status git add README.md (Calling git track the file)  git commit -m "Initial Commit" (Calling git to save this)  Checking Status and Branches ====================== git status Send your all Code to github ===================== create a new Repository and fill up the information and hit 'create Repository' button git remote add origin https://github...