Skip to content

Instantly share code, notes, and snippets.

@JeffNixonCreative
Forked from philspitler/gist:02fcca5c614eb2d9153e
Last active August 29, 2015 14:22
Show Gist options
  • Select an option

  • Save JeffNixonCreative/8bce88d964b262b1922a to your computer and use it in GitHub Desktop.

Select an option

Save JeffNixonCreative/8bce88d964b262b1922a to your computer and use it in GitHub Desktop.
Overall
- Missing $ at the beginning of some commands
Git Remove is confusing:
- Looks just like the examples you actually run, but you're not supposed to.
Using .gitignore to Ignore Files
- When you do touch tomatos.txt and then run git status, it doesn't show the banan.txt that is still in the folder
- Again, after adding tomatos.txt to the .gitignore file, further git statuses shows the banana.txt file needing to be dealt with
Branches
- ls doesn't show tomatoes.txt
- git status still not showing the banana.txt file
Assignment
- Create a new branch named git_checkpoint_assignment branched from master.
- Not only does the assignment not tell you how to "branch from master", it's not in the checkpoint explicitely
- fix.? : add branch name, in this case "master", to the end of the "checkout -b" command and explain that sets the parent branch for the new branch to master
- At the end of the checkpoint, you're not sitting in master, so it's likely with out the branch stated when creating the new branch, that you will be creating one off of the new_grocery_list branch
- Checkout git_checkpoint_assignment
- The only way we show students to create a branch would make this occur automatically
- Remove apple.txt from the repository using git rm.
- doesn't say commit the removal of apple.txt in the repository w/ a message
- Modify banana.txt and add the content "Git Checkpoint Assignment."
- doesn't say to commit
- Create a file named lettuce.txt and add the output of the git diff command as the contents:
- the git diff command will not show any differences in the banana.txt file as it's never been committed to the repository
- students will think they need to create the file with "touch" or something like that as they used that to create other files
- fix.? : Run the following command: (show code), then finish with explaining "to output the results of the "git diff" command to lettuce.txt"
- Send the lettuce.txt file to your mentor for review.
- Unless the mentor has given an email address or something, you can't send the mentor the lettuce.txt file
- If you mean to cat the output, why store it in a file, just copy from output in terminal
- Overall
- Missing $ on commands in some code blocks
- Opening Paragraph
There is a chance here to have users add their github username to their Bloc Account before they start assignments that require commits to be submitted
- Setting a Remote Repository
- "Name the repository the same as our local repository, "bloc_git_checkpoint""
- For the git checkpoint, the name of the 2 local repository is "git_checkpoint", not "bloc_git_checkpoint"
- Should reference YOUR_GITHUB_USERNAME as a placeholder. If page is Angularized, pull the students github account from their Bloc account and just put in in there.
- Git Clone
- Explaining in the paragraph above the code to change directories and stuff and then showing the commands to do it in the code block could have users doing it while reading the paragraph and thinking they needed to type what's in the code block too.
- After cloning repository into the new directory setup for the the clone, the next code example has the original local folder as it's header instead of the clone folder
- Assignments
- Push the git_checkpoint_assignment branch from the Git checkpoint to GitHub.
- We are left from the checkpoint still in the repo we cloned from github which doesn't have the git_checkpoint_assignment branch with no instruction to change back into the original directory
- I knew to change from the clone folder to the original folder so I could continue with the assignment.
- Submit a pull request on GitHub from git_checkpoint_assignment to master.
- Big button labeled Compare & pull request is not shown as in assinment animated gif. I'm using the little icon for pull requests.
- When running a pull reqeuest into master from git_checkpoint_assignment, it says "There isn't anything to compare".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment