6.3. Git

6.3. Git

  1. Name a command that is not safe to run while other people are using your repo.

  2. Say you just made a bad commit on your private branch, how can you fix it?

  3. What does git pull do under the covers? How is that different than +git fetch+?

  4. What is a bare repo? How can you convert a working repo into a bare one?

  5. How many bytes does it take to create a new branch?

  6. What do the commit SHA1 sums represent?

  7. What is unique about cloning a repo to a location on the same filesystem?

  8. What is the danger in using git rebase on a public branch?

  9. How can you erase all traces of a bad commit on your private branch?

  10. How can you checkout the state of your current branch 6 commits ago?