Git & Version Control questions and answers
Branching, rebasing, remotes and recovering from mistakes. Page 13 of 20.
Interview Questions practice on Codemia
Over 8,000 real interview questions from top companies, searchable by company and role.
Answers 721-780
- How do I safely merge a Git branch into master?
- How do I see the commit differences between branches in git?
- How do I set GIT_SSL_NO_VERIFY for specific repos only?
- How do I set up a Kafka service on gitlab-ci.yml?
- How do I show my global Git configuration?
- How do I show the changes which have been staged?
- How do I squash two non-consecutive commits?
- How do I stash only one file out of multiple files that have changed?
- How do I sync the SVN revision number with my ASP.NET web site?
- How do I tell git-svn about a remote branch created after I fetched the repo?
- How do I un-revert a reverted Git commit?
- How do I undo 'git add' before commit?
- How do I undo 'git reset'?
- How do I update if exists, insert if not AKA upsert or merge in MySQL?
- How do I update or sync a forked repository on GitHub?
- How do I update the password for Git?
- How do I use git bisect?
- How do I use 'git reset --hard HEAD' to revert to a previous commit?
- How do I use Git's difftool to merge conflicts?
- How do I use Notepad or other with msysgit?
- How do I view 'git diff' output with my preferred diff tool/ viewer?
- How do I view previous diff commits using Git?
- How do I work with a git repository within another repository?
- How do you attach a new pull request to an existing issue on github?
- How do you change the capitalization of filenames in Git?
- How do you copy and paste into Git Bash
- How do you fix a bad merge, and replay your good commits onto a fixed merge?
- How do you get git to always pull from a specific branch?
- How do you merge two Git repositories?
- How do you organise multiple git repositories, so that all of them are backed up together?
- How do you push a tag to a remote repository using Git?
- how do you push only some of your local git commits?
- How do you remove an invalid remote branch reference from Git?
- How do you rename a Git tag?
- How do you roll back reset a Git repository to a particular commit?
- How do you stash an untracked file?
- How do you stop tracking a remote branch in Git?
- How do you synchronise projects to GitHub with Android Studio?
- How do you take a git diff file, and apply it to a local branch that is a copy of the same repository?
- How do you use both Spring Data JPA and Spring Data Elasticsearch repositories on the same domain class in a Spring Boot application?
- How do you use git --bare init repository?
- How do you use Git with multiple computers?
- How do you version your database schema?
- How does a ''diff'' algorithm work, e.g. in VCDIFF and DiffMerge?
- How does Git create unique commit hashes, mainly the first few characters?
- How does Git handle symbolic links?
- How does 'git log --graph' or 'hg graphlog' work?
- How does Git save space and is fast at the same time?
- How does Git store files?
- How does kafka consumer auto commit work?
- How does one iteratively write merge sort?
- How external merge sort algorithm works?
- How git works when two peers push changes to same remote simultaneously
- how I can synchronized the airflow dags repository in github with an azure storage account?
- How implement Rollback feature?
- How is a tag different from a branch in Git? Which should I use, here?
- How is quick sort better at cache locality than mergesort?
- How much of a git sha is generally considered necessary to uniquely identify a change in a given codebase?
- How should I move changes from one commit to another?
- How to abort a cherry-pick?
.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