Git & Version Control questions and answers
Branching, rebasing, remotes and recovering from mistakes. Page 17 of 20.
Interview Questions practice on Codemia
Over 8,000 real interview questions from top companies, searchable by company and role.
Answers 961-1020
- 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 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 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
- How to remove the first commit in git?
- How to remove untracked files in Git?
- How to remove unused imports in Intellij IDEA on commit?
- How to replace master branch in Git, entirely, from another branch?
- How to reset local git repository?
- How to resolve Error bad index – Fatal index file corrupt when using Git
- How to resolve git did not exit cleanly exit code 128 error on TortoiseGit?
- How to resolve git stash conflict without commit?
- How to resolve git's not something we can merge error
- How to resume a git pull/clone after a hung up unexpectedly?
- How to resume review process after updating pull request at GitHub?
- How to retrieve a single file from a specific revision in Git?
- How to return from 'detached HEAD' state?
- How to reverse apply a stash?
- How to revert a git rm -r .?
- How to revert initial git commit?
- How to revert to origin's master branch's version of file
- How to search a Git repository by commit message?
- How to search in commit messages using command line?
- How to search through all Git and Mercurial commits in the repository for a certain string?
- How to see an HTML page on Github as a normal rendered HTML page to see preview in browser, without downloading?
- How to see changes to a file before commit?
- How to see commits that were merged in to a merge commit?
- How to see the changes between two commits without commits in-between?
- How to set offset committed by the consumer group using Spark's Direct Stream for Kafka?
- How to set patience as default git diff algorithm
- How to set specific Java version to Maven?
- How to show full-file Git blame in Visual Studio Code
- How to show Git log history i.e., all the related commits for a sub directory of a Git repository
- How to show the first commit by 'git log'?
- How to show uncommitted changes in Git and some Git diffs in detail
- How to shrink the .git folder
- How to solve Permission denied publickey error when using Git?
- How to sort in-place using the merge sort algorithm?
- How to sparsely checkout only one single file from a git repository?
- How to specify the private SSH-key to use when executing shell command on Git?
- How to squash all commits on branch
- How to squash all git commits into one?
- How to squash commits in git after they have been pushed?
- How to stash changes while keeping the changes in the working directory? Git
- How to stash only staged changes in Git?
- How to stash only unstaged changes in Git?
- How to state in requirements.txt a direct github source
- How to stop tracking and ignore changes to a file in Git?
- How to tag an older commit in Git?
- How to take a merge replication back up?
.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