Git & Version Control questions and answers
Branching, rebasing, remotes and recovering from mistakes. Page 1 of 20.
Interview Questions practice on Codemia
Over 8,000 real interview questions from top companies, searchable by company and role.
Answers 1-60
- 2-way Merge Sort and Merge Sort
- 2PC distributed transactions across many microservices?
- 3Phase commit protocol - Distributed System
- Difference between "git add -A" and "git add .
- How can I delete a remote tag?
- How can I merge properties of two JavaScript objects?
- How can I reset or revert a file to a specific revision?
- How can I see the differences between two branches?
- How do I add an empty directory to a Git repository?
- How do I change the author and committer name/email for multiple commits?
- How do I clone a Git repository into a specific folder?
- How do I clone all remote branches?
- How do I discard unstaged changes in Git?
- How do I find and restore a deleted file in a Git repository?
- How do I get the current branch name in Git?
- How do I make git use the editor of my choice for editing commit messages?
- How do I modify a specific commit?
- How do I push a new local branch to a remote Git repository and track it too?
- How do I remove local (untracked) files from the current Git working tree?
- How do I resolve merge conflicts in a Git repository?
- How do I squash my last N commits together?
- How do you push a tag to a remote repository using Git?
- How to add images to README.md on GitHub?
- How to determine the URL that a local Git repository was originally cloned from
- I ran into a merge conflict. How do I abort the merge?
- Message 'src refspec master does not match any' when pushing commits in Git
- Move existing, uncommitted work to a new branch in Git
- Reset local repository branch to be just like remote repository HEAD
- View the change history of a file using Git versioning
- What does cherry-picking a commit with Git mean?
- A Memory-Adaptive Merge Algorithm?
- About bubble sort vs merge sort
- Accidentally committed .idea directory files into git
- Add all files to a commit except a single file?
- Add all files to a commit except a single file?
- Add Helm chart dependency repository as git url
- Add only non-whitespace changes
- Algorithm for N-way merge
- Android buildscript repositories jcenter VS mavencentral
- Android buildscript repositories jcenter VS mavencentral
- Android studio - should the entire .idea directory be in git ignore?
- Another Git process seems to be running in this repository
- Another Git process seems to be running in this repository
- Any decent text diff/merge engine for .NET?
- Apache Kafka - Autocommit = false and no commit
- Apache Kafka with Avro and Schema Repo - where in the message does the schema Id go?
- Apply .gitignore on an existing repository already tracking large number of files
- Applying a git post-commit hook to all current and future repositories
- Applying .gitignore to committed files
- Are Git forks actually Git clones?
- Are Git forks actually Git clones?
- Are Git's pack files deltas rather than snapshots?
- Are multiple .gitignores frowned on?
- Are smarter merge conflict algorithms available for git?
- Automatic prune with Git fetch or pull
- Automatically track remote branch with git
- AWS Aurora What is 'delayed send/commit ok done' process state
- AWS CodePipeline not able to access Organization's repositories
- Batcher's Merge-Exchange Sort
- Best practices for adding .gitignore file for Python projects?
.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