upstream
- in git when we push reference objects
git push <remote-name> <reference-name> - We can skip the
<remote-name> <reference-name>by setting upsteam
git push --set-upstream origin feature_1001
Developer workflows
- Developers create feature/defect branches from the branch where they are supposed to push the changes
Simulating a developer workflow
- Navigate to github on url Refer Here
- Now fork the repo
- After the fork is completed, clone the repo
- Now create a feature branch
feature_name_<random> - Now create a new file in docs with branch name
feature_name_<random>.txt - commmit and push the change to your repo
- From your repo in github create a pull request to my dummyrepos on main branch.
tags in git
- In git we create a tag to represent some milestone.
- most of the organizations create a tag on every release
- Tag points to a specific commit and will not move.
- git tags Refer Here for docs
Exercises:
- In git we have a log which represents history, there is a local permanent log called as ref-log using which learn how to recover a delete commit
- Refer Here for git exercise and i want you to solve atleast 10
