Omar Patel
Software developer/instructor
https://goo.gl/cvoeJb
Push your code up to your Github account. You will need to have Git set up on your machine and a Github repository to push your code up to. Github is your a large part of your resume and serves to help you show off your code to the world. Here’s a good article that writes about the importance of Git more elaborately than I do: http://code.dblock.org/github-is-your-new-resume.
For this update, you will be working with uploading your HTML, CSS, and jQuery to your Github repository. I will expect you to understand the basics of Git and Github by the time this project update is due.
Guidelines:
1. Create a Github Account
2. Commit your changes and push your code up to Github.
3. Create a separate branch when making changes to your codebase. Once your changes are made, merge your branch into your master branch. Be sure to name your branch appropriately (semantically).
4. Send me your github repo name. I will be grading your project updates from Github from now on :).
Unix Terminal Commands Review (repeat exercise 10 times)
1. Open your terminal
2. Change into your project directory (cd name_of_dir)
3. Move up one directory (cd ..)
4. List all elements in the current directory (ls)
5. create a directory (mkdir name_of_dir)
6. delete the directory (rmdir name_of_dir)
7. Show what directory you're currently in (pwd)
1. Create a new directory (NOT within your project directory) - mkdir directory_name
2. change into that directory - cd directory_name
3. Initialize a new git repository - git init
4. Check the status of the git repository - git status
5. Create a .txt file (name it whatever you want, it just has to end in ".txt") either using sublime text or the touch command, and save the file in this directory - touch filename.txt
6. Add this file to staging - git add filename.txt
7. Commit this file - git commit -m "the message"
8. Create 3 more .txt files with sublime text and name them whatever you want - touch filename.txt
9. Add all of these files to staging using 1 command - git add .
10. Commit these files - git commit -m 'Added files'
Git Review (repeat 5 times)
11. Add a git repository to github and name it the same as your directory
12. Add a git remote to connect to your github repo - git add remote origin url
13. push up your code to your github repo - git push origin branch_name
14. Create a branch and name it one_branch - git branch one_branch
15. Check out the branch you just created - git checkout one_branch
16. Create a file using sublime text
17. Add your file to staging - git add filename
18. Commit your file - git commit -m "Added file"
19. checkout your master branch - git checkout master
20. Merge your file into your master branch (you can merge it yourself) - git merge one_branch
Git Review (repeat 5 times)
Push your code up to your Github account. You will need to have Git set up on your machine and a Github repository to push your code up to. Github is your a large part of your resume and serves to help you show off your code to the world. Here’s a good article that writes about the importance of Git more elaborately than I do: http://code.dblock.org/github-is-your-new-resume.
For this update, you will be working with uploading your HTML, CSS, and jQuery to your Github repository. I will expect you to understand the basics of Git and Github by the time this project update is due.
Guidelines:
1. Create a Github Account
2. Commit your changes and push your code up to Github.
3. Create a separate branch when making changes to your codebase. Once your changes are made, merge your branch into your master branch. Be sure to name your branch appropriately (semantically).
4. Send me your github repo name. I will be grading your project updates from Github from now on :).
https://goo.gl/QBcPtx
By Omar Patel