Skip to content

f1point2/git-kata

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 

Repository files navigation

Git Kata

Instructions

You're expected to capture your full shell history while you're working on this, we're mostly interested in seeing your workings rather than the finished end result, so please annotate this with your thinking on what you're exploring and what you learn from the output each time.

  • Locate and edit the commit with the credentials in and remove the credentials
  • At some point a bug was introduced after A, locate and remove that commit, to test if the bug is present you can run the following command that tests your work against a 'blackbox' lambda that will fail (and throw a 4xx error) when a string from the offending commit is found in the POST payload.
# bash
curl -X POST -d "$(cat files/*)" https://69o349t9b2.execute-api.eu-west-2.amazonaws.com/production/
# powershell
echo $(invoke-webrequest -Body "$(cat files/*)" -Method POST https://69o349t9b2.execute-api.eu-west-2.amazonaws.com/production/).Content
  • Reorder the commits to be
    1. initial commit
    2. add readme
    3. A
    4. B
    5. C
    6. D (from branch feature/other-branch)
    7. E
    8. F
    9. etc...

Expected outputs

  • shell_history.txt - annotated shell history.
  • archive.zip - archived zip of the full codebase including the .git directory
  • notes.txt - any thoughts or notes you'd like to share with the assessor
  • web-history - google/stackoverflow/etc is allowed but we do ask to see your history while you're working on it

About

Git kata to use in interviews

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published