Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

Version 1 Next »

Task 1 - Creating a git repo

  1. Open GitBash and navigate to your folder of choice.

  2. Create a new directory called localRepo.

  3. Navigate into this newly created directory.

  4. Turn it into a git repository by typing git init .

  5. Check that the repository has been initialised - use the ls -a command to see all the hidden files, you should now see .git folder.

  6. Create a new file in this directory - touch file1.txt .

  7. Check if git recognised any change being made - git status .

  • No labels