Git & Version Control questions and answers
Branching, rebasing, remotes and recovering from mistakes. Page 19 of 20.
Interview Questions practice on Codemia
Over 8,000 real interview questions from top companies, searchable by company and role.
Answers 1081-1140
- How to list all tags along with the full message in git?
- How to list all tags that contain a commit?
- How to list branches that contain a given commit?
- How to list branches that contain a given commit?
- How to list only the names of files that changed between two commits
- How to list unpushed Git commits local but not on origin
- How to login to ArgoCD CLI non-interactive in CI like GitHub Actions?
- How to make a simple revert work on Git / EGit?
- How to make an existing directory within a git repository a git submodule
- How to make change to .gitattributes take effect
- How to make 'git diff' ignore comments
- How to make git mark a deleted and a new file as a file move?
- How to manually commit offset in Spark Kafka direct streaming?
- How to manually set group.id and commit kafka offsets in spark structured streaming?
- How to merge a remote branch locally
- How to merge a specific commit in Git
- How to merge a specific commit in Git
- How to merge a transparent png image with another image using PIL
- How to merge master branch into main
- How to merge remote changes at GitHub?
- How to merge specific files from Git branches
- How to merge two BST's efficiently?
- How to merge two sorted arrays in Swift?
- how to merge two sorted integer array in place using On time and O1 space cost
- How to migrate GIT repository from one server to a new one
- How to modify a pull request on GitHub to change target branch to merge into?
- How to modify existing, unpushed commit messages?
- How to move certain commits to be based on another branch in git?
- How to move some files from one git repo to another not a clone, preserving history
- How to output git log with the first line only?
- How to perform better document version control on Excel files and SQL schema files
- How to perform kaniko Docker build and push in separate GitLab CI stages?
- How to permanently remove few commits from remote branch
- How to permanently remove few commits from remote branch
- How to prefer files from one branch during a merge?
- How to preview the changes that git stash apply will make?
- How to preview the changes that git stash apply will make?
- How to programmatically determine the current checked out Git branch
- How to programmatically determine whether the Git checkout is a tag and if so, what is the tag name
- How to prune local tracking branches that do not exist on remote anymore?
- How to prune local tracking branches that do not exist on remote anymore?
- How to pull after a forced git push?
- How to pull from a local branch into another one?
- How to pull remote branch from somebody else's repo
- How to push a docker image to a private repository
- How to push different local Git branches to Heroku/master
- How to re-commit a past commit if someone overwrote my commit
- How to read the output from git diff?
- How to rebase local branch onto remote master
- How to rebase local branch onto remote master
- How to recover stashed uncommitted changes
- How to recover stashed uncommitted changes
- How to refer to relative paths of resources when working with a code repository
- How to remove a file from the staging area index cache in Git?
- How to remove all git origin and local tags?
- How to remove files from git staging area?
- How to remove files from git staging area?
- How to remove files that are listed in the .gitignore but still on the repository?
- How to remove origin from git repository
- How to remove remote origin from a Git repository
.png&w=3840&q=75)
Free course
Beginner
7 lessons
2 hours
Tackling System Design Interview Problems
A short course that equips you with the skills to approach system design interviews methodically.
Start the free course