Just a plain dummy repo.
Your Todos:
- Clone that repo to your local machine:
- via https:
git clone https://github.com/atecon/dummy_repo.git
- via SSH:
git clone [email protected]:atecon/dummy_repo.git
- via https:
- Check the git status after entered the directory:
git status
- Create a new branch locally:
git branch <new-branch-name>
- Check on which branch you are:
git status
- Check which branches exist -- locally and remote:
git branch -a
- Delete the local branch:
git branch -D <new-branch-name>
- Check which branches still exist:
git branch -a
- Create again a branch and check it out (switch to it):
git branch <new-branch-name>
andgit checkout <new-branch-name>
- Check the status:
git status
- Create a new file named , write something in it and store it in the local repo directory. Check the status:
git status
- Add the new file to the branch:
git add <FILENAME>
- Check the status:
git status
- Commit the change and add a message:
git commit -am "Add new file to repo"
- See the history of recent changes:
git log
- Now create your first own repo on github