Learning GIT and Github
- How to create GIT command prompt: Git Bash Here
- How to create a repository: git init
- Verify repository status: git status
- Add files to version control: git add . (add all files)
- Create new version and especify changes: git commit -m + "changes"
- Upload files to Github: git remote add origin + repository link
- Upload changes to Github: git push
- Verify update log: git reflog
- Go back to other versions: git reset --hard + version ID
- How to access branches: git branch
- How to create new branches: git checkout -b + new branch + base branch
- How to change current branch: git checkout + branch name
- How to make a pull request
- How to create a git ignore file: touch .gitignore
- Add files to git ignore: add file's path to gitignore textbook