Latest questions in Git & GitHub

0 votes
1 answer

How to move the most recent commits to a new branch with Git?

Hi@akhtar, If you want to move your commits ...READ MORE

Dec 22, 2020 in Git & GitHub by MD
• 95,440 points
585 views
0 votes
1 answer

How to force git to completely forget about a file that is present in .gitignore folder?

Hi@akhtar, gitignore file is a text file that tells Git which files or ...READ MORE

Dec 22, 2020 in Git & GitHub by MD
• 95,440 points
3,228 views
0 votes
1 answer

How to revert a Git repository to a previous commit?

Hi@akhtar, This depends a lot on what you ...READ MORE

Dec 21, 2020 in Git & GitHub by MD
• 95,440 points
678 views
0 votes
1 answer

How to modify existing, unpushed commit messages?

Hi@akhtar, The git commit --amend command is a convenient way to modify ...READ MORE

Dec 21, 2020 in Git & GitHub by MD
• 95,440 points
1,436 views
0 votes
1 answer

How to undo the most recent local commits in Git?

Hi@akhtar, There is one way available to undo ...READ MORE

Dec 21, 2020 in Git & GitHub by MD
• 95,440 points
399 views
+1 vote
1 answer

How to resolve merge conflicts in Git repository?

Hi@akhtar, You can try with git mergetool. It ...READ MORE

Nov 22, 2020 in Git & GitHub by MD
• 95,440 points
583 views
0 votes
1 answer

How to pull from a Git repository through an HTTP proxy?

Hi@akhtar, You can set the HTTP proxy that Git ...READ MORE

Nov 22, 2020 in Git & GitHub by MD
• 95,440 points
2,323 views
0 votes
1 answer

How to recover a dropped stash in Git?

Hi@akhtar, You can create a separate branch for ...READ MORE

Nov 22, 2020 in Git & GitHub by MD
• 95,440 points
578 views
0 votes
1 answer

How to change the URL for a remote Git repository?

Hi@akhtar, You can use the git remote command ...READ MORE

Nov 21, 2020 in Git & GitHub by MD
• 95,440 points
839 views
+1 vote
1 answer

How to check out a remote Git branch?

Hi@akhtar, You can use the git checkout command ...READ MORE

Nov 21, 2020 in Git & GitHub by MD
• 95,440 points
368 views
0 votes
1 answer

How to delete a Git branch remotely?

Hi@akhtar, You can delete the branch locally or ...READ MORE

Nov 21, 2020 in Git & GitHub by MD
• 95,440 points
502 views
0 votes
1 answer

How to delete all the Git stashes in the stack?

Hi@akhtar, If you want to delete all the ...READ MORE

Nov 20, 2020 in Git & GitHub by MD
• 95,440 points
787 views
0 votes
1 answer

How to stash untracked files of the current working directory in Git?

Hi@akhtar, In order to stash untracked files, add ...READ MORE

Nov 20, 2020 in Git & GitHub by MD
• 95,440 points
15,279 views
0 votes
1 answer

How to apply a Stash in Git?

Hi@akhtar, In order to apply your Git stash ...READ MORE

Nov 20, 2020 in Git & GitHub by MD
• 95,440 points
590 views
0 votes
1 answer

Difference between git stash pop and git stash apply.

"Git stash pop" deletes the last pushed ...READ MORE

Nov 21, 2020 in Git & GitHub by anonymous
600 views
0 votes
1 answer

How to reset the changes in Git?

Hi@MD, Reset command can be used to undo ...READ MORE

Nov 20, 2020 in Git & GitHub by akhtar
• 38,230 points
586 views
0 votes
1 answer

How to delete Stash from the stash list?

Hi@akhtar, Before you drop the Stash, you can ...READ MORE

Nov 20, 2020 in Git & GitHub by MD
• 95,440 points
4,847 views
0 votes
1 answer

How to list all the saved stashes in Git?

Hi@akhtar, In Git, the stash operation takes your ...READ MORE

Nov 20, 2020 in Git & GitHub by MD
• 95,440 points
427 views
0 votes
1 answer

How to save files in Git Stash?

Hi@akhtar, Git Stash temporarily save changes you've made to ...READ MORE

Nov 20, 2020 in Git & GitHub by MD
• 95,440 points
692 views
0 votes
1 answer

How to unstage a file in Git?

Hi@akhtar, Sometimes we accidentally add files in the ...READ MORE

Nov 19, 2020 in Git & GitHub by MD
• 95,440 points
638 views
0 votes
1 answer

How to remove files from git repository as well as users system?

Hi@akhtar, The git rm command deletes the file ...READ MORE

Nov 19, 2020 in Git & GitHub by MD
• 95,440 points
540 views
0 votes
1 answer

fatal: unable to auto-detect email address (got 'root@xxxxx.(none)')

Hi@akhtar, In the Git server, you need to set ...READ MORE

Nov 19, 2020 in Git & GitHub by MD
• 95,440 points
4,298 views
0 votes
1 answer

How to find the hidden files in the Git repository?

Hi@akhtar, To find the hidden files in the ...READ MORE

Nov 19, 2020 in Git & GitHub by MD
• 95,440 points
14,383 views
0 votes
1 answer

How to set a username in the Git server?

Hi@akhtar, In the Git server, you need to ...READ MORE

Nov 19, 2020 in Git & GitHub by MD
• 95,440 points

edited Nov 19, 2020 by MD 636 views
0 votes
1 answer

How to install Git in the Ubuntu system?

Hi@akhtar, In the Ubuntu system, you can use ...READ MORE

Nov 19, 2020 in Git & GitHub by MD
• 95,440 points
485 views
0 votes
1 answer

Error : unable to write symref for HEAD: Function not implemented

This is usually caused by a permission ...READ MORE

Oct 30, 2020 in Git & GitHub by Kim
6,279 views
0 votes
1 answer

How to untrack and remove a deleted file and log when we check git status ?

Hi@Shashi, You can use the git clean command. ...READ MORE

Oct 29, 2020 in Git & GitHub by MD
• 95,440 points
17,592 views
0 votes
1 answer

What's difference between git rebase and git commit?

The git commit command captures a snapshot of the ...READ MORE

Oct 6, 2020 in Git & GitHub by Lyana
636 views
0 votes
1 answer

How to add an empty directory to a Git repository?

Hi@akhtar, A popular solution is to simply add ...READ MORE

Oct 5, 2020 in Git & GitHub by MD
• 95,440 points
828 views
0 votes
1 answer

I want to create a repository on folder level in Git. Is this possible?

That is possible but ideally, you should ...READ MORE

Sep 28, 2020 in Git & GitHub by Mudit
494 views
0 votes
1 answer

How to remove remote origin from Git repo?

Hi@akhtar, You can remove or add a new ...READ MORE

Sep 4, 2020 in Git & GitHub by MD
• 95,440 points
6,501 views
0 votes
1 answer

How to view git logs of one user's commits?

Hi@akhtar, You can use the git log command ...READ MORE

Sep 4, 2020 in Git & GitHub by MD
• 95,440 points
1,996 views
0 votes
1 answer

How to delete a remote Git tag?

Hi@MD, It is very simple to delete a ...READ MORE

Sep 4, 2020 in Git & GitHub by akhtar
• 38,230 points
819 views
0 votes
1 answer

How to clone all remote branches in Git?

Hi@akhtar, You can use the git clone command ...READ MORE

Sep 4, 2020 in Git & GitHub by MD
• 95,440 points
1,225 views
+1 vote
1 answer

How to remove untracked files from the current Git working tree?

Hi@akhtar, If you have thousands of file then ...READ MORE

Sep 4, 2020 in Git & GitHub by MD
• 95,440 points
981 views
+1 vote
1 answer

How to force “git pull” to overwrite local files?

Hi@akhtar, First, you need to download the latest from ...READ MORE

Sep 4, 2020 in Git & GitHub by MD
• 95,440 points
1,518 views
+1 vote
1 answer

How do I rename a local Git branch?

Hi@akhtar, You can rename your branch name. Sometimes ...READ MORE

Sep 4, 2020 in Git & GitHub by MD
• 95,440 points
528 views
0 votes
1 answer

error: branch 'origin/master' not found.

Hi@akhtar, It seems your branch is not synced ...READ MORE

Sep 4, 2020 in Git & GitHub by MD
• 95,440 points
2,890 views
0 votes
0 answers

I run git tag command but its running continously

READ MORE

Aug 30, 2020 in Git & GitHub by Ravi
• 120 points
359 views
0 votes
1 answer

How to clone seperate folder individually rather than the whole repository from GitHub?

Hi@akhtar, I don't think you can do that ...READ MORE

Aug 27, 2020 in Git & GitHub by MD
• 95,440 points
498 views
0 votes
1 answer

fatal: could not create work tree dir 'C:/Program Files/Git/data': Permission denied

Hi@akhtar, You may get this error if your ...READ MORE

Jun 14, 2020 in Git & GitHub by MD
• 95,440 points
20,272 views
0 votes
0 answers

Git tutorial basics cases are explained here

Here is the link to the blog: https://www.edureka.co/blog/git-tutorial/ I ...READ MORE

Jun 4, 2020 in Git & GitHub by Vardhan
• 13,190 points
387 views
0 votes
1 answer

fatal: unable to access 'https://github.com/user/maven-productweb.git/': Failed to connect to github.com port 443: No route to host

Hi@akhtar, You may get this error if your ...READ MORE

Jun 3, 2020 in Git & GitHub by MD
• 95,440 points
20,747 views
0 votes
1 answer

GIT commit Error while pushing to remote repository

Hi@Ajit, To update your local repo to GitHub, ...READ MORE

Jun 1, 2020 in Git & GitHub by MD
• 95,440 points
7,570 views
0 votes
1 answer

What is the difference between remote add origin vs remote set-url origin in git?

Hello, If you want to add a new ...READ MORE

May 27, 2020 in Git & GitHub by Niroj
• 82,880 points
3,952 views
0 votes
1 answer

How to merge with squash in Git?

Hi@akhtar, If you want to merge your data ...READ MORE

May 13, 2020 in Git & GitHub by MD
• 95,440 points
518 views
0 votes
1 answer

error: Failed to merge in the changes. hint: Use 'git am --show-current-patch' to see the failed patch Patch failed at 0001 b1

Hi@akhtar, You got this error because you have ...READ MORE

May 11, 2020 in Git & GitHub by MD
• 95,440 points
5,165 views
0 votes
1 answer

How to merge data between Git branches?

Hi@akhtar, You can merge your data between Git ...READ MORE

May 10, 2020 in Git & GitHub by MD
• 95,440 points
477 views
0 votes
1 answer

error: The branch 'dev1' is not fully merged.If you are sure you want to delete it, run 'git branch -D dev1'.

Hi@akhtar, When you create one new branch in ...READ MORE

May 10, 2020 in Git & GitHub by MD
• 95,440 points
2,679 views