Skip to content

Exercise

Task 1

  • Create a new directory named my-first-repo
  • Goto my-first-repo and initialize a new git repo.
  • Create two empty files files named README and LICENSE.
  • Commit both files to master branch.

  • Create a branch named feature-1.

  • Create a new python file named main.py with following content:

    print('Hello World')
    
  • Create a new repo in Github.

  • Attach Github repo with local repo.
  • Push master branch to Github
  • Push feature-1 branch to Github
  • Create a pull request from feature-1 to master.
Back to top