Q1 - Ronak-Ronu/73772127142-Devops-Assignment-1 GitHub Wiki
GIT operations using local and remote (Github) repositories
Copying a remote repository to your local machine.
Set up a new Git repository in your project directory, allowing version control for your files
Prepare changes in your working directory to be committed to the repository.
Save your changes to the repository along with a descriptive message.
Git branch branch-name
Command used to create a branch in a Git repository.
Command used to list in a Git repository.
Switch branches or restore working tree files.
Temporarily storing changes without committing them.
- Before using Git stash
2.Using Git stash
3.Apply changes again to file using git stash apply
Proposing changes and requesting them to be merged into a branch on the remote repository.
- Creating pull request
- Merging pull request
- Merged successful to main branch.
Sending your local commits to the remote repository.
- Pushing from Branch-1 which creates a pull request to merge in main branch.
- Pushing from main branch.